diff --git a/.github/workflows/ci-failure-analyst.yml b/.github/workflows/ci-failure-analyst.yml index bb0fd3c..ecf3b6c 100644 --- a/.github/workflows/ci-failure-analyst.yml +++ b/.github/workflows/ci-failure-analyst.yml @@ -18,7 +18,7 @@ # Docs: https://github.com/petry-projects/.github-private/blob/main/docs/aw/ci-failure-analyst.md # ───────────────────────────────────────────────────────────────────────────── -name: "CI Failure Analyst" +name: 'CI Failure Analyst' on: check_run: @@ -26,13 +26,13 @@ on: permissions: pull-requests: write - issues: write # post/read PR comments via the Issues comments API + issues: write # post/read PR comments via the Issues comments API actions: read contents: read checks: read concurrency: - group: "ci-failure-analyst-${{ github.event.check_run.head_sha }}" + group: 'ci-failure-analyst-${{ github.event.check_run.head_sha }}' cancel-in-progress: false jobs: diff --git a/.github/workflows/dev-lead.yml b/.github/workflows/dev-lead.yml index 4391ffe..02f5ada 100644 --- a/.github/workflows/dev-lead.yml +++ b/.github/workflows/dev-lead.yml @@ -37,6 +37,16 @@ on: permissions: {} +concurrency: + # One active run per repo; ci-relay (check_run) keeps an ephemeral per-SHA slot + # so it can fire immediately without blocking or being blocked by the dispatch queue. + group: >- + ${{ + github.event_name == 'check_run' && format('dev-lead-ci-relay-{0}', github.event.check_run.head_sha) || + 'dev-lead' + }} + cancel-in-progress: false + jobs: dev-lead: uses: petry-projects/.github-private/.github/workflows/dev-lead-reusable.yml@main diff --git a/.gitignore b/.gitignore index 6c5b4cd..441f30a 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ playwright-report/ # compliance-ci-trigger # ci-trigger-298 .dev-lead/ +.dev-lead/