Skip to content

Commit

Permalink
Build/Test Tools: Update github-script action to the latest version.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
desrosj committed Mar 8, 2023
1 parent 577dee9 commit 459d263
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ jobs:
svn --version
- name: Install NodeJS
uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # v3.4.1
uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b # v3.5.0
with:
node-version-file: '.nvmrc'
cache: npm
Expand Down Expand Up @@ -169,7 +169,7 @@ jobs:
steps:
- name: Dispatch workflow run
uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0
uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
with:
retries: 2
retry-exempt-status-codes: 418
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/javascript-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
svn --version
- name: Install NodeJS
uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # v3.4.1
uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b # v3.5.0
with:
node-version-file: '.nvmrc'
cache: npm
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
steps:
- name: Dispatch workflow run
uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0
uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
with:
retries: 2
retry-exempt-status-codes: 418
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/php-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
steps:
- name: Dispatch workflow run
uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0
uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
with:
retries: 2
retry-exempt-status-codes: 418
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/phpunit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2

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

- name: Cache Composer dependencies
uses: actions/cache@fd5de65bc895cf536527842281bea11763fefd77 # v3.0.8
uses: actions/cache@56461b9eb0f8438fd15c7a9968e3c9ebb18ceff1 # v3.0.10
env:
cache-name: cache-composer-dependencies
with:
Expand Down Expand Up @@ -262,7 +262,7 @@ jobs:
steps:
- name: Dispatch workflow run
uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0
uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
with:
retries: 2
retry-exempt-status-codes: 418
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
svn --version
- name: Install NodeJS
uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # v3.4.1
uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b # v3.5.0
with:
node-version-file: '.nvmrc'
cache: npm
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
svn --version
- name: Install NodeJS
uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # v3.4.1
uses: actions/setup-node@969bd2663942d722d85b6a8626225850c2f7be4b # v3.5.0
with:
node-version-file: '.nvmrc'
cache: npm
Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:
steps:
- name: Dispatch workflow run
uses: actions/github-script@d4560e157075e2d93aa3022b5b51a42a880f1f93 # v6.3.0
uses: actions/github-script@7dff1a87643417cf3b95bb10b29f4c4bc60d8ebd # v6.3.1
with:
retries: 2
retry-exempt-status-codes: 418
Expand Down

0 comments on commit 459d263

Please sign in to comment.