WordPress.org

Make WordPress Core

Changeset 50476


Ignore:
Timestamp:
03/02/2021 05:47:33 PM (3 months ago)
Author:
desrosj
Message:

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.

Location:
trunk/.github/workflows
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/end-to-end-tests.yml

    r50473 r50476  
    4949      - name: Cancel previous runs of this workflow (pull requests only)
    5050        if: ${{ github.event_name == 'pull_request' }}
    51         uses: styfle/cancel-workflow-action@0.8.0
    52         with:
    53           access_token: ${{ github.token }}
     51        uses: styfle/cancel-workflow-action@3d86a7cc43670094ac248017207be0295edbc31d
    5452
    5553      - name: Configure environment variables
  • trunk/.github/workflows/javascript-tests.yml

    r50473 r50476  
    4040      - name: Cancel previous runs of this workflow (pull requests only)
    4141        if: ${{ github.event_name == 'pull_request' }}
    42         uses: styfle/cancel-workflow-action@0.8.0
    43         with:
    44           access_token: ${{ github.token }}
     42        uses: styfle/cancel-workflow-action@3d86a7cc43670094ac248017207be0295edbc31d
    4543
    4644      - name: Checkout repository
  • trunk/.github/workflows/phpunit-tests.yml

    r50473 r50476  
    4242      - name: Cancel previous runs of this workflow (pull requests only)
    4343        if: ${{ github.event_name == 'pull_request' }}
    44         uses: styfle/cancel-workflow-action@0.8.0
    45         with:
    46           access_token: ${{ github.token }}
     44        uses: styfle/cancel-workflow-action@3d86a7cc43670094ac248017207be0295edbc31d
    4745
    4846  # Runs the PHPUnit tests for WordPress.
  • trunk/.github/workflows/verify-npm-on-windows.yml

    r50473 r50476  
    3737      - name: Cancel previous runs of this workflow (pull requests only)
    3838        if: ${{ github.event_name == 'pull_request' }}
    39         uses: styfle/cancel-workflow-action@0.8.0
    40         with:
    41           access_token: ${{ github.token }}
     39        uses: styfle/cancel-workflow-action@3d86a7cc43670094ac248017207be0295edbc31d
    4240
    4341      - name: Checkout repository
Note: See TracChangeset for help on using the changeset viewer.