Cancel #1954
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cancel | |
on: | |
workflow_run: | |
workflows: [ | |
"CodeQL", | |
"Dependent Issues", | |
"Go", | |
"Integration", | |
"macOS Release", | |
"Protobuf", | |
] | |
types: | |
- requested | |
jobs: | |
cancel_pr_prev_push: | |
name: Cancel previous runs on PR update | |
if: ${{ github.event_name == 'workflow_run' }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: styfle/[email protected] | |
with: | |
workflow_id: ${{ github.event.workflow.id }} |