Make WordPress Core


Ignore:
Timestamp:
10/16/2020 12:25:18 AM (5 years ago)
Author:
desrosj
Message:

Build/Test Tools: Do not cancel previous workflow runs.

When a workflow is cancelled, it’s marked as a failure. This is not ideal because the commit attached to the workflow run will appear as though it introduced a problem, but this may not be true.

Because GitHub Actions work a bit differently than Travis builds, it’s unlikely that the same bottleneck will be encountered in workflows.

This change removes all workflow job steps that cancel previous workflows.

See #50401.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/verify-npm-on-windows.yml

    r49162 r49168  
    1212  #
    1313  # Performs the following steps:
    14   # - Cancels all previous workflow runs that have not completed.
    1514  # - Checks out the repository.
    1615  # - Logs debug information about the runner container.
     
    2322    runs-on: windows-latest
    2423    steps:
    25       - name: Cancel previous runs of this workflow
    26         uses: styfle/cancel-workflow-action@0.5.0
    27         with:
    28           access_token: ${{ github.token }}
    29 
    3024      - name: Checkout repository
    3125        uses: actions/checkout@v2
Note: See TracChangeset for help on using the changeset viewer.