ci: cancel previous build (#2794)

This commit is contained in:
Alex Yang authored and GitHub committed 2023-06-30 07:39:27 +00:00
1 parent 3c93f4162d
commit 68c4fccf98
2 files changed
+17 -4

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
name: Cancel
on:
pull_request_target:
types:
- edited
- synchronize
jobs:
cancel:
name: 'Cancel Previous Runs'
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- uses: styfle/cancel-workflow-action@0.11.0
with:
workflow_id: 44038251
access_token: ${{ github.token }}