aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2024-11-08 12:54:41 +0100
committerLoïc Hoguin <[email protected]>2024-11-08 12:54:41 +0100
commit3f1bc67bf3a55859da3b9ea23483b44f58ab6082 (patch)
tree0c3cccc8a917f319680362d76bda0bec2ac92fb2
parentbaf3b75e4c98ca65acf661b3bd99bb05469190a7 (diff)
downloadgun-3f1bc67bf3a55859da3b9ea23483b44f58ab6082.tar.gz
gun-3f1bc67bf3a55859da3b9ea23483b44f58ab6082.tar.bz2
gun-3f1bc67bf3a55859da3b9ea23483b44f58ab6082.zip
CI: Add concurrency rules
-rw-r--r--.github/workflows/ci.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 809eb7e..1876d05 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -11,6 +11,10 @@ on:
## Every Monday at 2am.
- cron: 0 2 * * 1
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+ cancel-in-progress: true
+
jobs:
cleanup-master:
name: Cleanup master build