chore(actions): Use cancel workflow action (#2763)

This commit is contained in:
Arun 2021-01-10 23:39:44 +05:30 committed by GitHub
parent e682cf9bf6
commit 3a130cb102
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

12
.github/workflows/cancel.yml vendored Normal file
View File

@ -0,0 +1,12 @@
name: Cancel
on: [push]
jobs:
cancel:
name: "Cancel Previous Runs"
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: styfle/cancel-workflow-action@0.6.0
with:
workflow_id: 400555, 400556, 905313, 1451724, 1710116, 3185001, 3438604
access_token: ${{ secrets.GITHUB_TOKEN }}