mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-14 14:32:49 +01:00
17 lines
321 B
YAML
17 lines
321 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.9.1
|
|
with:
|
|
all_but_latest: true
|
|
workflow_id: ${{ github.event.workflow.id }}
|