You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/install-testing.yml
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -78,19 +78,25 @@ jobs:
78
78
79
79
# Exclude some PHP and MySQL versions that cannot currently be tested with Docker containers.
80
80
exclude:
81
+
# There are no local WordPress Docker environment containers for PHP <= 5.3.
81
82
- php: '5.2'
82
83
- php: '5.3'
84
+
# MySQL containers <= 5.5 do not exist or fail to start properly.
83
85
- db-version: '5.0'
84
86
- db-version: '5.1'
85
87
- db-version: '5.5'
88
+
# The PHP <= 7.3/MySQL 8.4 jobs currently fail due to mysql_native_password being disabled by default. See https://core.trac.wordpress.org/ticket/61218.
86
89
- php: '7.2'
87
90
db-version: '8.4'
88
91
- php: '7.3'
89
92
db-version: '8.4'
93
+
# Only test the latest innovation release.
94
+
- db-version: '9.0'
95
+
# MySQL 9.0+ will not work on PHP 7.2 & 7.3. See https://core.trac.wordpress.org/ticket/61218.
# A reusable workflow that finds and closes any pull requests that are linked to Trac
3
+
# tickets that are referenced as fixed in commit messages.
4
+
#
5
+
# More info about using GitHub pull requests for contributing to WordPress can be found in the handbook: https://make.wordpress.org/core/handbook/contribute/git/github-pull-requests-for-code-review/.
6
+
##
7
+
name: Run pull request cleanup
8
+
9
+
on:
10
+
workflow_call:
11
+
12
+
jobs:
13
+
# Finds and closes pull requests referencing fixed Trac tickets in commit messages using the
14
+
# documented expected format
15
+
#
16
+
# Commit message format is documented in the Core handbook: https://make.wordpress.org/core/handbook/best-practices/commit-messages/.
17
+
#
18
+
# Performs the following steps:
19
+
# - Parse fixed ticket numbers from the commit message.
20
+
# - Parse the SVN revision from the commit message.
21
+
# - Searches for pull requests referencing any fixed tickets.
22
+
# - Leaves a comment on each PR before closing.
23
+
close-prs:
24
+
name: Find and close PRs
25
+
runs-on: ubuntu-latest
26
+
permissions:
27
+
pull-requests: write
28
+
29
+
steps:
30
+
- name: Find fixed ticket numbers
31
+
id: trac-tickets
32
+
run: |
33
+
COMMIT_MESSAGE=$(cat <<'EOF' | sed -n '/^Fixes #/,/\./p'
0 commit comments