mirror of
https://github.com/Hopiu/djLint.git
synced 2026-03-20 15:20:24 +00:00
17 lines
392 B
YAML
17 lines
392 B
YAML
# This action finds in-progress Action jobs for the same branch, and cancels
|
|
# them. There's little point in continuing to run superseded jobs.
|
|
|
|
name: cancel
|
|
|
|
on:
|
|
push:
|
|
|
|
jobs:
|
|
cancel:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Cancel Previous Runs
|
|
uses: styfle/cancel-workflow-action@0.11.0
|
|
with:
|
|
access_token: ${{ github.token }}
|
|
workflow_id: test.yml
|