Skip to content
Merged
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
4c81c04
chore: sync 4 org-standard workflow stub(s) from petry-projects/.github
don-petry Oct 3, 2026
5fe8598
chore: sync 4 org-standard workflow stub(s) from petry-projects/.github
don-petry Oct 3, 2026
6d0ad01
chore: sync 4 org-standard workflow stub(s) from petry-projects/.github
don-petry Oct 3, 2026
5572bb3
chore: sync 4 org-standard workflow stub(s) from petry-projects/.github
don-petry Oct 3, 2026
65471bc
fix(reviews): keep add-to-project, agent-shield, dev-lead callers on …
don-petry Oct 3, 2026
fa6628a
fix(pr-auto-review): restore Dependabot guard and fix channel comment
don-petry Oct 4, 2026
37d5932
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 4, 2026
fb0d3ec
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 5, 2026
0ca81b3
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 6, 2026
1ba4d6f
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 6, 2026
57589ff
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 6, 2026
8d5dd04
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 7, 2026
3255a1f
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 8, 2026
dd95533
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 8, 2026
d377df6
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 9, 2026
c58f7d5
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 9, 2026
3255f8d
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 9, 2026
4b74e26
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 9, 2026
3db6f59
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 9, 2026
4af6209
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 9, 2026
7a46528
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 9, 2026
1e2d8e0
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 9, 2026
5fc405a
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 9, 2026
35e5d59
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 9, 2026
349be98
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 9, 2026
7db71b8
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 9, 2026
c50f3fc
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 9, 2026
0e08e92
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 9, 2026
7135f7b
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 9, 2026
d6f85ef
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 9, 2026
62cdc9d
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 9, 2026
2cb89f5
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 9, 2026
3c5fb70
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 10, 2026
71167b4
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 10, 2026
bcfc26f
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 10, 2026
7a3f926
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 10, 2026
5a6ab05
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 10, 2026
f7815d8
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 10, 2026
da90196
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 10, 2026
c726490
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 10, 2026
f3cfa72
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 10, 2026
3bd448b
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 10, 2026
a7a648c
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 10, 2026
7a5e595
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 10, 2026
3337e13
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 10, 2026
cbc7f03
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 10, 2026
42777a9
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 10, 2026
7be1382
Merge branch 'main' into standards-sync/workflows-20261003
don-petry Oct 10, 2026
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
37 changes: 26 additions & 11 deletions .github/workflows/pr-auto-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,34 @@ on:

permissions: {}

# Deduplicate ONLY the default-branch-context triggers (issue #1126). On GitHub
# Free (20 concurrent jobs, org-wide) this stub fanned out per trigger. Its runs
# split by context:
# • check_suite / workflow_run — head_branch=main, the check does NOT attach to
# the PR head, so superseding an in-flight run is SAFE. Both events collapse
# onto one group per PR (`…-pr-<number>`) with cancel-in-progress: true.
# • pull_request / pull_request_review — run on the PR head; a cancelled run
# would leave a cancelled `pr-auto-review / check-and-dispatch` check on the
# head. They get a unique-per-run group and never cancel, so they behave
# exactly as before.
# A default-branch trigger with no associated PR (fork / no PR) also falls back to
# the unique-per-run group so unrelated PRs never collapse into one group.
concurrency:
group: >-
${{
(github.event_name == 'check_suite' && github.event.check_suite.pull_requests[0].number)
&& format('pr-auto-review-ready-check-pr-{0}', github.event.check_suite.pull_requests[0].number)
|| (github.event_name == 'workflow_run' && github.event.workflow_run.pull_requests[0].number)
&& format('pr-auto-review-ready-check-pr-{0}', github.event.workflow_run.pull_requests[0].number)
|| format('pr-auto-review-ready-check-unique-{0}', github.run_id)
}}
cancel-in-progress: ${{ github.event_name == 'check_suite' || github.event_name == 'workflow_run' }}

jobs:
pr-auto-review:
# Skip Dependabot-authored events (#1390, mirrors the #864 guard in
# dev-lead-reusable.yml): a Dependabot `pull_request` run has no access to
# GH_PAT_WORKFLOWS, so the secrets expression below resolves empty and the
# reusable's ready-check checkout fails at startup with
# "Input required and not supplied: token". Dependabot PRs are handled by
# dependabot-automerge.yml and never need the review-agent dispatch, so
# skipping cleanly here removes the false failure without touching the
# channel, trigger event types, or permissions block.
# Two conditions: actor covers Dependabot-triggered events (pull_request,
# workflow_run); PR-author login covers pull_request_review events where the
# actor is the human reviewer, not Dependabot.
# Skip Dependabot-authored events (#1390): Dependabot-triggered events have
# no access to GH_PAT_WORKFLOWS, so the reusable's checkout fails. Dependabot
# PRs are handled by dependabot-automerge.yml and never need review dispatch.
if: github.actor != 'dependabot[bot]' && github.event.pull_request.user.login != 'dependabot[bot]'
Comment thread
cubic-dev-ai[bot] marked this conversation as resolved.
Resolved
permissions:
pull-requests: read
Expand Down
Loading