Skip to content

Commit 138666f

Browse files
authored
Merge branch 'main' into copilot/fix-core-install-error-255
2 parents 015f95e + 8944997 commit 138666f

File tree

3 files changed

+25
-5
lines changed

3 files changed

+25
-5
lines changed

.github/workflows/issue-triage.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,26 @@
11
---
2-
name: Issue Triage
2+
name: Issue and PR Triage
33

44
'on':
55
issues:
66
types: [opened]
7+
pull_request_target:
8+
types: [opened]
79
workflow_dispatch:
810
inputs:
911
issue_number:
10-
description: 'Issue number to triage (leave empty to process all)'
12+
description: 'Issue/PR number to triage (leave empty to process all)'
1113
required: false
1214
type: string
1315

1416
jobs:
1517
issue-triage:
1618
uses: wp-cli/.github/.github/workflows/reusable-issue-triage.yml@main
1719
with:
18-
issue_number: ${{ github.event_name == 'workflow_dispatch' && inputs.issue_number || github.event.issue.number }}
20+
issue_number: >-
21+
${{
22+
(github.event_name == 'workflow_dispatch' && inputs.issue_number) ||
23+
(github.event_name == 'pull_request_target' && github.event.pull_request.number) ||
24+
(github.event_name == 'issues' && github.event.issue.number) ||
25+
''
26+
}}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Welcome New Contributors
2+
3+
on:
4+
pull_request_target:
5+
types: [opened]
6+
branches:
7+
- main
8+
- master
9+
10+
jobs:
11+
welcome:
12+
uses: wp-cli/.github/.github/workflows/reusable-welcome-new-contributors.yml@main

features/core-update.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ Feature: Update WordPress core
330330
When I run `wp post create --post_title='Test post' --porcelain`
331331
Then STDOUT should be a number
332332

333-
@require-php-7.2
333+
@require-php-7.4
334334
Scenario Outline: Use `--version=(nightly|trunk)` to update to the latest nightly version
335335
Given a WP install
336336

@@ -350,7 +350,7 @@ Feature: Update WordPress core
350350
| trunk |
351351
| nightly |
352352

353-
@require-php-7.2
353+
@require-php-7.4
354354
Scenario: Installing latest nightly build should skip cache
355355
Given a WP install
356356

0 commit comments

Comments
 (0)