diff --git a/.github/bump-callers/README.md b/.github/bump-callers/README.md index f37b549..b93488d 100644 --- a/.github/bump-callers/README.md +++ b/.github/bump-callers/README.md @@ -25,7 +25,7 @@ forward automatically instead of silently drifting commits behind. |---|---|---|---| | [`bump-cursor-review-callers.yml`](../workflows/bump-cursor-review-callers.yml) | `cursor-review.yml` | `CURSOR_REVIEW_CALLERS` | non-empty (hard-fails if empty) | | [`bump-agents-md-callers.yml`](../workflows/bump-agents-md-callers.yml) | `agents-md-integrity.yml` or `agents-md-integrity/**` | `AGENTS_MD_CALLERS` | empty `[]` (grows as callers land) | -| [`bump-pr-size-callers.yml`](../workflows/bump-pr-size-callers.yml) | `pr-size.yml` | `PR_SIZE_CALLERS` | empty `[]` (grows as callers land) | +| [`bump-pr-size-callers.yml`](../workflows/bump-pr-size-callers.yml) | `pr-size.yml` or `scripts/check-pr-size/**` | `PR_SIZE_CALLERS` | empty `[]` (grows as callers land) | They stay as thin entrypoints rather than one matrix because their triggers differ: a `cursor-review.yml` change must not spuriously bump agents-md or diff --git a/.github/workflows/bump-agents-md-callers.yml b/.github/workflows/bump-agents-md-callers.yml index 4f58dc1..03106f3 100644 --- a/.github/workflows/bump-agents-md-callers.yml +++ b/.github/workflows/bump-agents-md-callers.yml @@ -5,11 +5,12 @@ name: Bump agents-md-integrity callers # it. PRs are opened by Cloud Code Bot so they are easy to filter and merge. # # This is a thin entrypoint over the shared bumper at -# .github/bump-callers/bump-callers.sh — the same script drives the cursor-review -# caller fleet (bump-cursor-review-callers.yml). Keeping ONE implementation is -# deliberate: a forked copy is how other shared machinery in the org has drifted. -# The two entrypoints differ only in their path-filter trigger and the three -# parameters passed below. (They stay separate rather than a single matrix +# .github/bump-callers/bump-callers.sh — the same script drives the +# cursor-review and pr-size caller fleets (bump-cursor-review-callers.yml, +# bump-pr-size-callers.yml). Keeping ONE implementation is deliberate: a forked +# copy is how other shared machinery in the org has drifted. The entrypoints +# differ only in their path-filter trigger and the three parameters passed +# below. (They stay separate rather than a single matrix # because their triggers differ — a cursor-review.yml change must not spuriously # bump agents-md callers, and vice versa.) # diff --git a/.github/workflows/bump-cursor-review-callers.yml b/.github/workflows/bump-cursor-review-callers.yml index bf685f7..395fb92 100644 --- a/.github/workflows/bump-cursor-review-callers.yml +++ b/.github/workflows/bump-cursor-review-callers.yml @@ -6,10 +6,11 @@ name: Bump cursor-review callers # # This is a thin entrypoint over the shared bumper at # .github/bump-callers/bump-callers.sh — the same script drives the -# agents-md-integrity caller fleet (bump-agents-md-callers.yml). Keeping ONE -# implementation is deliberate: a forked copy is how other shared machinery in -# the org has drifted. The two entrypoints differ only in their path-filter -# trigger and the three parameters passed below. +# agents-md-integrity and pr-size caller fleets (bump-agents-md-callers.yml, +# bump-pr-size-callers.yml). Keeping ONE implementation is deliberate: a forked +# copy is how other shared machinery in the org has drifted. The entrypoints +# differ only in their path-filter trigger and the three parameters passed +# below. # # The caller list is NOT hardcoded here. This repo is PUBLIC (workflow file and # Actions run logs are both publicly viewable), and most callers are private, so diff --git a/.github/workflows/bump-pr-size-callers.yml b/.github/workflows/bump-pr-size-callers.yml index 2234dae..146a775 100644 --- a/.github/workflows/bump-pr-size-callers.yml +++ b/.github/workflows/bump-pr-size-callers.yml @@ -38,6 +38,11 @@ on: branches: [main] paths: - .github/workflows/pr-size.yml + # The counting logic consumers actually run lives here, built from the + # `workflows_ref` SHA a caller pins (see pr-size.yml's header) — a + # behavior change here needs the same caller bump as a workflow-file + # change, or pinned callers silently drift onto stale tool behavior. + - scripts/check-pr-size/** permissions: contents: read