Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/dev-lead.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Comment on lines +41 to +46
}}
cancel-in-progress: false

jobs:
dev-lead:
uses: petry-projects/.github-private/.github/workflows/dev-lead-reusable.yml@main
Expand Down
10 changes: 10 additions & 0 deletions standards/workflows/dev-lead.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Comment on lines +41 to +46
}}
cancel-in-progress: false

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Add queue:max to preserve serialized dev-lead events

With this repository-wide dev-lead concurrency group, bursts of non-check_run events are not fully serialized: GitHub Actions defaults to only one pending run per concurrency group, so a third PR comment/review/label or repository_dispatch while one run is active cancels and replaces the earlier pending dev-lead run rather than executing it later (GitHub docs). That means some requested dev-lead work can be silently dropped under load; add queue: max with cancel-in-progress: false if the intent is to run every event one at a time.

Useful? React with 👍 / 👎.


jobs:
dev-lead:
uses: petry-projects/.github-private/.github/workflows/dev-lead-reusable.yml@main
Expand Down