Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 074a0ab

Browse filesBrowse files
committed
Build/Test Tools: Update github-script action to the latest version.
The latest version of the `actions/github-script` action fixes an issue where passing options to the action would remove any default values not passed (see actions/github-script#293). This also includes updates to other third-party actions, bringing all third-party versions in Core workflows to their latest versions: - `actions/cache` - `actions/setup-node` - `codecov/codecov-action` See #55652. git-svn-id: https://develop.svn.wordpress.org/trunk@54373 602fd350-edb4-49c9-b593-d223f7449a82
1 parent baabb45 commit 074a0ab
Copy full SHA for 074a0ab

10 files changed

+24
-24
lines changed

‎.github/workflows/coding-standards.yml

Copy file name to clipboardExpand all lines: .github/workflows/coding-standards.yml
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
run: echo "::set-output name=date::$(/bin/date -u --date='last Mon' "+%F")"
8686

8787
- name: Cache PHPCS scan cache
88-
uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 # v3.0.8
88+
uses: actions/cache@56461b9eb0f8438fd15c7a9968e3c9ebb18ceff1 # v3.0.10
8989
with:
9090
path: .cache/phpcs.json
9191
key: ${{ runner.os }}-date-${{ steps.get-date.outputs.date }}-phpcs-cache-${{ hashFiles('**/composer.json', 'phpcs.xml.dist') }}
@@ -150,7 +150,7 @@ jobs:
150150
svn --version
151151
152152
- name: Install NodeJS
153-
uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # v3.4.1
153+
uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b # v3.5.0
154154
with:
155155
node-version-file: '.nvmrc'
156156
cache: npm
@@ -198,7 +198,7 @@ jobs:
198198
199199
steps:
200200
- name: Dispatch workflow run
201-
uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0
201+
uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
202202
with:
203203
retries: 2
204204
retry-exempt-status-codes: 418

‎.github/workflows/end-to-end-tests.yml

Copy file name to clipboardExpand all lines: .github/workflows/end-to-end-tests.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
locale -a
7474
7575
- name: Install NodeJS
76-
uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # v3.4.1
76+
uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b # v3.5.0
7777
with:
7878
node-version-file: '.nvmrc'
7979
cache: npm
@@ -146,7 +146,7 @@ jobs:
146146
147147
steps:
148148
- name: Dispatch workflow run
149-
uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0
149+
uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
150150
with:
151151
retries: 2
152152
retry-exempt-status-codes: 418

‎.github/workflows/failed-workflow.yml

Copy file name to clipboardExpand all lines: .github/workflows/failed-workflow.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
steps:
2626
- name: Rerun a workflow
27-
uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0
27+
uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
2828
with:
2929
retries: 2
3030
retry-exempt-status-codes: 418

‎.github/workflows/javascript-tests.yml

Copy file name to clipboardExpand all lines: .github/workflows/javascript-tests.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
svn --version
6868
6969
- name: Install NodeJS
70-
uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # v3.4.1
70+
uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b # v3.5.0
7171
with:
7272
node-version-file: '.nvmrc'
7373
cache: npm
@@ -114,7 +114,7 @@ jobs:
114114
115115
steps:
116116
- name: Dispatch workflow run
117-
uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0
117+
uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
118118
with:
119119
retries: 2
120120
retry-exempt-status-codes: 418

‎.github/workflows/php-compatibility.yml

Copy file name to clipboardExpand all lines: .github/workflows/php-compatibility.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
run: echo "::set-output name=date::$(/bin/date -u --date='last Mon' "+%F")"
8181

8282
- name: Cache PHP compatibility scan cache
83-
uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 # v3.0.8
83+
uses: actions/cache@56461b9eb0f8438fd15c7a9968e3c9ebb18ceff1 # v3.0.10
8484
with:
8585
path: .cache/phpcompat.json
8686
key: ${{ runner.os }}-date-${{ steps.get-date.outputs.date }}-phpcompat-cache-${{ hashFiles('**/composer.json', 'phpcompat.xml.dist') }}
@@ -134,7 +134,7 @@ jobs:
134134
135135
steps:
136136
- name: Dispatch workflow run
137-
uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0
137+
uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
138138
with:
139139
retries: 2
140140
retry-exempt-status-codes: 418

‎.github/workflows/phpunit-tests.yml

Copy file name to clipboardExpand all lines: .github/workflows/phpunit-tests.yml
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ jobs:
112112
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2
113113

114114
- name: Install NodeJS
115-
uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # v3.4.1
115+
uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b # v3.5.0
116116
with:
117117
node-version-file: '.nvmrc'
118118
cache: npm
@@ -131,7 +131,7 @@ jobs:
131131
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
132132

133133
- name: Cache Composer dependencies
134-
uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 # v3.0.8
134+
uses: actions/cache@56461b9eb0f8438fd15c7a9968e3c9ebb18ceff1 # v3.0.10
135135
env:
136136
cache-name: cache-composer-dependencies
137137
with:
@@ -258,7 +258,7 @@ jobs:
258258
259259
steps:
260260
- name: Dispatch workflow run
261-
uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0
261+
uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
262262
with:
263263
retries: 2
264264
retry-exempt-status-codes: 418

‎.github/workflows/slack-notifications.yml

Copy file name to clipboardExpand all lines: .github/workflows/slack-notifications.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
steps:
5454
- name: Determine the status of the previous attempt
5555
id: previous-attempt-result
56-
uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0
56+
uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
5757
with:
5858
retries: 2
5959
retry-exempt-status-codes: 418
@@ -118,7 +118,7 @@ jobs:
118118

119119
- name: Get the commit message
120120
id: current-commit-message
121-
uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0
121+
uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
122122
if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' }}
123123
with:
124124
retries: 2

‎.github/workflows/test-coverage.yml

Copy file name to clipboardExpand all lines: .github/workflows/test-coverage.yml
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
locale -a
8888
8989
- name: Install NodeJS
90-
uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # v3.4.1
90+
uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b # v3.5.0
9191
with:
9292
node-version-file: '.nvmrc'
9393
cache: npm
@@ -106,7 +106,7 @@ jobs:
106106
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
107107

108108
- name: Cache Composer dependencies
109-
uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 # v3.0.8
109+
uses: actions/cache@56461b9eb0f8438fd15c7a9968e3c9ebb18ceff1 # v3.0.10
110110
env:
111111
cache-name: cache-composer-dependencies
112112
with:
@@ -160,7 +160,7 @@ jobs:
160160

161161
- name: Upload single site report to Codecov
162162
if: ${{ ! matrix.multisite && github.event_name != 'pull_request' }}
163-
uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378 # v3.1.0
163+
uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # v3.1.1
164164
with:
165165
file: wp-code-coverage-single-clover-${{ github.sha }}.xml
166166
flags: single,php
@@ -175,7 +175,7 @@ jobs:
175175

176176
- name: Upload multisite report to Codecov
177177
if: ${{ matrix.multisite && github.event_name != 'pull_request' }}
178-
uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378 # v3.1.0
178+
uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # v3.1.1
179179
with:
180180
file: wp-code-coverage-multisite-clover-${{ github.sha }}.xml
181181
flags: multisite,php
@@ -209,7 +209,7 @@ jobs:
209209
210210
steps:
211211
- name: Dispatch workflow run
212-
uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0
212+
uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
213213
with:
214214
retries: 2
215215
retry-exempt-status-codes: 418

‎.github/workflows/test-npm.yml

Copy file name to clipboardExpand all lines: .github/workflows/test-npm.yml
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
svn --version
7474
7575
- name: Install NodeJS
76-
uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # v3.4.1
76+
uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b # v3.5.0
7777
with:
7878
node-version-file: '.nvmrc'
7979
cache: npm
@@ -133,7 +133,7 @@ jobs:
133133
svn --version
134134
135135
- name: Install NodeJS
136-
uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # v3.4.1
136+
uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b # v3.5.0
137137
with:
138138
node-version-file: '.nvmrc'
139139
cache: npm
@@ -188,7 +188,7 @@ jobs:
188188
189189
steps:
190190
- name: Dispatch workflow run
191-
uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0
191+
uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
192192
with:
193193
retries: 2
194194
retry-exempt-status-codes: 418

‎.github/workflows/test-old-branches.yml

Copy file name to clipboardExpand all lines: .github/workflows/test-old-branches.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
# Run all branches monthly, but only the currently supported one twice per month.
6868
steps:
6969
- name: Dispatch workflow run
70-
uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0
70+
uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
7171
if: ${{ github.event_name == 'push' || github.event.schedule == '0 0 15 * *' || matrix.branch == '6.0' }}
7272
with:
7373
retries: 2

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.