Skip to content

cancel-duplicates

cancel-duplicates #43

Workflow file for this run

name: cancel-duplicates
on:
workflow_run:
workflows: ['github-docker', 'github-linux', 'github-OSX', 'github-windows', 'indent']
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: duplicates
cancelFutureDuplicates: true
token: ${{ secrets.GITHUB_TOKEN }}
sourceRunId: ${{ github.event.workflow_run.id }}
notifyPRCancel: true