2021-03-31 03:52:20 +08:00
|
|
|
name: Cancelling Duplicates
|
|
|
|
on:
|
|
|
|
workflow_run:
|
2021-04-05 10:55:34 +08:00
|
|
|
workflows: ["Build", "Check", "Build Documentation", " Lint", "Docker-Linux"]
|
2021-03-31 03:52:20 +08:00
|
|
|
types: ['requested']
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
cancel-duplicate-workflow-runs:
|
|
|
|
name: "Cancel duplicate workflow runs"
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: apache/airflow-cancel-workflow-runs@master
|
|
|
|
name: "Cancel duplicate workflow runs"
|
|
|
|
with:
|
|
|
|
cancelMode: allDuplicates
|
|
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
sourceRunId: ${{ github.event.workflow_run.id }}
|