Skip to content

Commit a6c1899

Browse files
authored
Configure concurrency to cancel "In progress" actions (#93)
The styfle/cancel-workflow-action, which we use in other repositories, is no longer neccessary to accomplish this nowadays. See: https://github.com/styfle/cancel-workflow-action
1 parent 2de3761 commit a6c1899

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci_cd.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
- 'main'
1111
workflow_dispatch:
1212

13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
1317
env:
1418
# Hosted GitHub runners have 7 GB of memory available, let's use 6 GB
1519
NODE_OPTIONS: --max-old-space-size=6144

0 commit comments

Comments
 (0)