16 lines
292 B
YAML
16 lines
292 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.8.0
|
|
with:
|
|
workflow_id: ${{ github.event.workflow.id }}
|