0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-03 11:18:56 +02:00

Cancel redundant GHA workflows (#10451)

This commit is contained in:
Richard van der Hoff 2021-07-22 11:35:06 +01:00 committed by GitHub
parent f1347bcfdc
commit 5e2df47f72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 0 deletions

View file

@ -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

View file

@ -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

1
changelog.d/10451.misc Normal file
View file

@ -0,0 +1 @@
Cancel redundant GHA workflows when a new commit is pushed.