Splitting the review relay into tend-mention-relay.yaml in 0.2.8 (#1230) dropped the pause gate on that path, and the switch to a TEND_ENABLED repository variable (#1233) did not restore it. With TEND_ENABLED set to false, every pull_request_review submission and every edited review comment on a same-repo PR still starts a relay run and still POSTs the tend-mention-review dispatch, which starts a second run.
Nothing acts on it — tend-mention's jobs do carry vars.TEND_ENABLED != 'false', so the dispatched run is skipped — but a repo that has paused tend still gets two runs per review event, and a relay job in each PR's check list.
What changed
In 0.2.7, the relay lived in tend-mention.yaml and its dispatch step was gated:
- name: Re-enter on an admitted ref
if: steps.tend_enabled.outputs.enabled == 'true'
In 0.2.8, tend-mention-relay.yaml's job carries only the fork filter:
relay:
if: github.event.pull_request.head.repo.full_name == github.repository
Every other generated workflow got the variable — tend-ci-fix, tend-mention, tend-nightly, tend-notifications, tend-review, tend-review-runs, tend-triage, tend-weekly all have vars.TEND_ENABLED != 'false' in their job-level if. The relay is the one job that does not.
Proposed fix
Add the same condition to the relay's if, keeping the fork filter:
relay:
if: >-
vars.TEND_ENABLED != 'false' &&
github.event.pull_request.head.repo.full_name == github.repository
Observed while regenerating max-sixty/leaf's workflows for 0.2.8 (max-sixty/leaf#743); leaf does not set the variable, so nothing is paused there and this is a correctness gap rather than an active problem for that repo.
Splitting the review relay into
tend-mention-relay.yamlin 0.2.8 (#1230) dropped the pause gate on that path, and the switch to aTEND_ENABLEDrepository variable (#1233) did not restore it. WithTEND_ENABLEDset tofalse, everypull_request_reviewsubmission and every edited review comment on a same-repo PR still starts arelayrun and still POSTs thetend-mention-reviewdispatch, which starts a second run.Nothing acts on it —
tend-mention's jobs do carryvars.TEND_ENABLED != 'false', so the dispatched run is skipped — but a repo that has paused tend still gets two runs per review event, and arelayjob in each PR's check list.What changed
In 0.2.7, the relay lived in
tend-mention.yamland its dispatch step was gated:In 0.2.8,
tend-mention-relay.yaml's job carries only the fork filter:Every other generated workflow got the variable —
tend-ci-fix,tend-mention,tend-nightly,tend-notifications,tend-review,tend-review-runs,tend-triage,tend-weeklyall havevars.TEND_ENABLED != 'false'in their job-levelif. The relay is the one job that does not.Proposed fix
Add the same condition to the relay's
if, keeping the fork filter:Observed while regenerating max-sixty/leaf's workflows for 0.2.8 (max-sixty/leaf#743); leaf does not set the variable, so nothing is paused there and this is a correctness gap rather than an active problem for that repo.