Configure concurrency for Danger CI workflow (#4646)

Added concurrency settings to Danger workflow.
This commit is contained in:
Michael Telatynski
2025-10-22 09:58:16 +01:00
committed by GitHub
parent 2d2d85f45d
commit c55c5a677b
+6 -1
View File
@@ -9,6 +9,11 @@ jobs:
name: Danger name: Danger
runs-on: macos-15 runs-on: macos-15
concurrency:
# Only allow a single run of this workflow on each branch, automatically cancelling older runs.
group: ${{ format('danger-ci-{0}', github.ref) }}
cancel-in-progress: true
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v5 uses: actions/checkout@v5
@@ -21,4 +26,4 @@ jobs:
run: run:
danger-swift ci danger-swift ci
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}