ClickHouse/.github/workflows/cancel.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
476 B
YAML
Raw Normal View History

2021-10-22 09:35:09 +00:00
name: Cancel
env:
# Force the stdout and stderr streams to be unbuffered
PYTHONUNBUFFERED: 1
2021-10-22 09:35:09 +00:00
on: # yamllint disable-line rule:truthy
workflow_run:
workflows: ["PullRequestCI", "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 }}