mirror of
git://develop.git.wordpress.org/
synced 2025-04-21 04:31:55 +02:00
Build/Test Tools: Change the cancel-workflow-action
version to a SHA value.
Additionally, the `access_token` input now defaults to `github.token`, so specifying it is unnecessary. Follow up to [50474]. Props johnbillion. See #52625. git-svn-id: https://develop.svn.wordpress.org/trunk@50476 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ae983c3f99
commit
780e0ffd91
4
.github/workflows/end-to-end-tests.yml
vendored
4
.github/workflows/end-to-end-tests.yml
vendored
@ -48,9 +48,7 @@ jobs:
|
||||
steps:
|
||||
- name: Cancel previous runs of this workflow (pull requests only)
|
||||
if: ${{ github.event_name == 'pull_request' }}
|
||||
uses: styfle/cancel-workflow-action@0.8.0
|
||||
with:
|
||||
access_token: ${{ github.token }}
|
||||
uses: styfle/cancel-workflow-action@3d86a7cc43670094ac248017207be0295edbc31d
|
||||
|
||||
- name: Configure environment variables
|
||||
run: |
|
||||
|
4
.github/workflows/javascript-tests.yml
vendored
4
.github/workflows/javascript-tests.yml
vendored
@ -39,9 +39,7 @@ jobs:
|
||||
steps:
|
||||
- name: Cancel previous runs of this workflow (pull requests only)
|
||||
if: ${{ github.event_name == 'pull_request' }}
|
||||
uses: styfle/cancel-workflow-action@0.8.0
|
||||
with:
|
||||
access_token: ${{ github.token }}
|
||||
uses: styfle/cancel-workflow-action@3d86a7cc43670094ac248017207be0295edbc31d
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
|
4
.github/workflows/phpunit-tests.yml
vendored
4
.github/workflows/phpunit-tests.yml
vendored
@ -41,9 +41,7 @@ jobs:
|
||||
steps:
|
||||
- name: Cancel previous runs of this workflow (pull requests only)
|
||||
if: ${{ github.event_name == 'pull_request' }}
|
||||
uses: styfle/cancel-workflow-action@0.8.0
|
||||
with:
|
||||
access_token: ${{ github.token }}
|
||||
uses: styfle/cancel-workflow-action@3d86a7cc43670094ac248017207be0295edbc31d
|
||||
|
||||
# Runs the PHPUnit tests for WordPress.
|
||||
#
|
||||
|
4
.github/workflows/verify-npm-on-windows.yml
vendored
4
.github/workflows/verify-npm-on-windows.yml
vendored
@ -36,9 +36,7 @@ jobs:
|
||||
steps:
|
||||
- name: Cancel previous runs of this workflow (pull requests only)
|
||||
if: ${{ github.event_name == 'pull_request' }}
|
||||
uses: styfle/cancel-workflow-action@0.8.0
|
||||
with:
|
||||
access_token: ${{ github.token }}
|
||||
uses: styfle/cancel-workflow-action@3d86a7cc43670094ac248017207be0295edbc31d
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
|
Loading…
x
Reference in New Issue
Block a user