ClickHouse/.github/workflows/cancel.yml

15 lines
392 B
YAML
Raw Normal View History

2021-10-22 09:35:09 +00:00
name: Cancel
on: # yamllint disable-line rule:truthy
workflow_run:
2021-12-01 12:38:17 +00:00
workflows: ["CIGithubActions", "ReleaseCI", "DocsCheck", "BackportPR"]
2021-10-22 09:35:09 +00:00
types:
- requested
jobs:
cancel:
runs-on: [self-hosted, style-checker]
steps:
2021-10-22 09:42:45 +00:00
- uses: styfle/cancel-workflow-action@0.9.1
with:
2021-12-01 12:38:17 +00:00
all_but_latest: true
2021-10-22 09:42:45 +00:00
workflow_id: ${{ github.event.workflow.id }}