mirror of
https://github.com/element-hq/synapse.git
synced 2026-07-30 03:10:23 +00:00
Cancel redundant GHA workflows (#10451)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Cancel redundant GHA workflows when a new commit is pushed.
|
||||
Reference in New Issue
Block a user