aniyomi/.github/workflows/cancel_pull_request.yml
renovate[bot] d3ce46a367
Update styfle/cancel-workflow-action action to v0.10.0 (#7446)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-02 22:53:03 -04:00

16 lines
322 B
YAML

name: Cancel old pull request workflows
on:
workflow_run:
workflows: ["PR build check"]
types:
- requested
jobs:
cancel:
runs-on: ubuntu-latest
steps:
- uses: styfle/cancel-workflow-action@0.10.0
with:
all_but_latest: true
workflow_id: ${{ github.event.workflow.id }}