Configure concurrency for Danger CI workflow (#4646)
Added concurrency settings to Danger workflow.
This commit is contained in:
committed by
GitHub
parent
71f380e2ab
commit
74c28d66ea
7
.github/workflows/danger.yml
vendored
7
.github/workflows/danger.yml
vendored
@@ -9,6 +9,11 @@ jobs:
|
||||
name: Danger
|
||||
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:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
@@ -21,4 +26,4 @@ jobs:
|
||||
run:
|
||||
danger-swift ci
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user