summary refs log tree commit diff
path: root/.github
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2021-07-22 11:35:06 +0100
committerGitHub <noreply@github.com>2021-07-22 11:35:06 +0100
commit5e2df47f72ab3270853da6019aba1aa4d4b2cc56 (patch)
tree948ee08ccc27735762d306981663eb5275f37de6 /.github
parentFix the tests-done Github Actions job (#10444) (diff)
downloadsynapse-5e2df47f72ab3270853da6019aba1aa4d4b2cc56.tar.xz
Cancel redundant GHA workflows (#10451)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release-artifacts.yml4
-rw-r--r--.github/workflows/tests.yml4
2 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/release-artifacts.yml b/.github/workflows/release-artifacts.yml
index 325c1f7d39..0beb418a07 100644
--- a/.github/workflows/release-artifacts.yml
+++ b/.github/workflows/release-artifacts.yml
@@ -12,6 +12,10 @@ on:
     # we do the full build on tags.
     tags: ["v*"]
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+  
 permissions:
   contents: write
 
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 9759163290..4e61824ee5 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -5,6 +5,10 @@ on:
     branches: ["develop", "release-*"]
   pull_request:
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.ref }}
+  cancel-in-progress: true
+  
 jobs:
   lint:
     runs-on: ubuntu-latest