From 74c28d66ea42546879bfbf63aac7e94a1312513c Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 22 Oct 2025 09:58:16 +0100 Subject: [PATCH] Configure concurrency for Danger CI workflow (#4646) Added concurrency settings to Danger workflow. --- .github/workflows/danger.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/danger.yml b/.github/workflows/danger.yml index dd72ed120..114c37f6d 100644 --- a/.github/workflows/danger.yml +++ b/.github/workflows/danger.yml @@ -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 }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}