summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/main.yml4
-rw-r--r--.github/workflows/project.yml4
2 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index cdadc1434..50e00f9c9 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -10,6 +10,10 @@ on:
branches:
- master
+concurrency:
+ group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
+ cancel-in-progress: true
+
jobs:
tests:
name: Run tests
diff --git a/.github/workflows/project.yml b/.github/workflows/project.yml
index 800761554..4b671d449 100644
--- a/.github/workflows/project.yml
+++ b/.github/workflows/project.yml
@@ -5,6 +5,10 @@ on:
pull_request_target:
types: [opened, synchronize]
+concurrency:
+ group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
+ cancel-in-progress: true
+
jobs:
add-to-project:
name: Add to project