mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-30 21:26:57 +02:00
Add concurrency to GitHub workflows to auto-cancel older runs.
This commit is contained in:
@@ -17,6 +17,11 @@ jobs:
|
||||
build:
|
||||
name: Build
|
||||
runs-on: macos-11
|
||||
|
||||
# Only allow a single run of this workflow on each branch (cancel older runs automatically)
|
||||
concurrency:
|
||||
group: build-${{ github.head_ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
@@ -17,6 +17,11 @@ jobs:
|
||||
tests:
|
||||
name: Tests
|
||||
runs-on: macos-11
|
||||
|
||||
# Only allow a single run of this workflow on each branch (cancel older runs automatically)
|
||||
concurrency:
|
||||
group: tests-${{ github.head_ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
@@ -16,6 +16,11 @@ jobs:
|
||||
build:
|
||||
name: Release
|
||||
runs-on: macos-11
|
||||
|
||||
# Only allow a single run of this workflow on each branch (cancel older runs automatically)
|
||||
concurrency:
|
||||
group: alpha-${{ github.head_ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
Reference in New Issue
Block a user