summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2021-12-26 23:53:02 -0700
committerDan Allen <dan.j.allen@gmail.com>2021-12-27 03:53:15 -0700
commitb2de2a94996bea2662700852396d723383e772aa (patch)
tree507998b1385c6d18306e680f1824a5a7ef67e659 /.github
parentabec0d22bba4211a6a861d098dd252cb72c1f9b2 (diff)
cancel build already in progress for same workflow and ref [skip ci]
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 6a6c7a45..9f3e0bee 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -6,6 +6,9 @@ on:
pull_request:
schedule:
- cron: '0 2 * * *'
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
jobs:
activate:
if: |