tachiyomi/.github/workflows/cancel_pull_request.yml

17 lines
321 B
YAML
Raw Normal View History

name: Cancel old pull request workflows
on:
workflow_run:
workflows: ["PR build check"]
types:
- requested
jobs:
cancel:
runs-on: ubuntu-latest
steps:
2021-12-17 23:47:55 +08:00
- uses: styfle/cancel-workflow-action@0.9.1
with:
2021-12-17 23:47:55 +08:00
all_but_latest: true
workflow_id: ${{ github.event.workflow.id }}