bug(workflows): inside a called reusable github.event_name is workflow_call, so the landing-tree replay and the commit-subject scan never run #1548
Labels
No labels
bump
major
bump
minor
bump
patch
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
loop/paused
mirror-drift
priority
critical
priority
high
priority
low
priority
medium
size
L
size
M
size
S
size
XL
status
blocked
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
frankenbit/release-toolkit#1548
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Two steps in the gate reusables key on
github.event_name == 'pull_request'. Inside a called reusable on this forge,github.event_namereadsworkflow_call, so neither step has ever run in a reusable. The PR payload is still there:github.event.pull_request.base.shaand.head.sharesolve.Measured
On PR #1547's first head
96650fd, 2026-10-04, from job logs read in the browser:replay onto the landing base (#1195)was skipped in every called reusable:manifest-check(run 19755);fragment-checkcoverage and density (run 19753);workflow-parse-check's reusable job (run 19762).toolkit-self-gates(run 19761) and the parse wrapper'sselfjob.commit-subject scan skipped: event is 'workflow_call', not pull_request.The code on main
44bdba5:reusable-register-check.yml:124: the replay step is underif: github.event_name == 'pull_request'.reusable-register-check.yml:267:rt register-check --git-log BASE..HEADis underif: ${{ inputs.check_commit_subjects == 'true' && github.event_name == 'pull_request' }}.#1530 had already listed the replay as out of scope ("triggered by event: workflow_call"). This issue gives it, and the subject scan, a home.
Why it matters
toolkit-self-gatesreplays, andbase-divergence-checkrefuses a stale base.Decided (operator, 2026-10-04)
reusable-pr-gates.yml(#1541, PR #1547) runs the landing-tree replay, keyed on the pull_request payload, not onevent_name.reusable-pr-gates.yml; old tags keep the dead steps.Acceptance criteria
855b34e, reviewed as855b34e). Run 19818 logslanding-tree replay: PASSinside the reusable, andregister-check: file scan only; the commit-subject scan is not part of this gate (#1548).The scan's step and input are removed, and a bats arm guards it.