Skip to content

Cancel Duplicates #3787

Cancel Duplicates

Cancel Duplicates #3787

name: Cancel Duplicates
on:
workflow_run:
workflows: ['Copy Shared Files']
types: ['requested']
workflow_dispatch:
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 }}