mirror of
https://github.com/Hopiu/djLint.git
synced 2026-04-25 07:24:45 +00:00
added cancel script
This commit is contained in:
parent
5b301914d4
commit
f4d2d30248
1 changed files with 17 additions and 0 deletions
17
.github/workflows/cancel.yml
vendored
Normal file
17
.github/workflows/cancel.yml
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# This action finds in-progress Action jobs for the same branch, and cancels
|
||||
# them. There's little point in continuing to run superceded jobs.
|
||||
|
||||
name: cancel
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
cancel:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Cancel Previous Runs
|
||||
uses: styfle/cancel-workflow-action@0.9.0
|
||||
with:
|
||||
access_token: ${{ github.token }}
|
||||
workflow_id: test.yml
|
||||
Loading…
Reference in a new issue