Cancelling Duplicates #3513
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cancelling Duplicates | |
on: | |
workflow_run: | |
workflows: | |
- "Deploy" | |
- "Test Build ACARS Hub Typescript" | |
- "Test PR Build" | |
types: ["requested"] | |
jobs: | |
cancel-duplicate-workflow-runs: | |
name: "Cancel duplicate workflow runs" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: potiuk/cancel-workflow-runs@master | |
name: "Cancel duplicate workflow runs" | |
with: | |
cancelMode: allDuplicates | |
token: ${{ secrets.GITHUB_TOKEN }} | |
sourceRunId: ${{ github.event.workflow_run.id }} |