PR #28's final review; parked in the docs-drift catalog (issue 22, comment 24530) and moved here because it's a refactor, not a documentation fix.
What
.gitea/workflows/release-sweep.yaml repeats ci.yaml's selftest gate steps (toolchain setup, shellcheck, selftest.sh) rather than sharing them. If the two drift apart, the sweep releases commits under a different gate than the merge path, and nothing would notice.
Acceptance criteria
Both workflows run the gate from one definition: a script under scripts/ that both call, or a reusable workflow.
A selftest or CI check fails if the two paths diverge. The simplest form is both invoking the same script, and a grep asserting that neither workflow inlines the gate commands.
## Found by
PR #28's final review; parked in the docs-drift catalog (issue 22, comment 24530) and moved here because it's a refactor, not a documentation fix.
## What
`.gitea/workflows/release-sweep.yaml` repeats `ci.yaml`'s selftest gate steps (toolchain setup, `shellcheck`, `selftest.sh`) rather than sharing them. If the two drift apart, the sweep releases commits under a different gate than the merge path, and nothing would notice.
## Acceptance criteria
1. Both workflows run the gate from one definition: a script under `scripts/` that both call, or a reusable workflow.
2. A selftest or CI check fails if the two paths diverge. The simplest form is both invoking the same script, and a grep asserting that neither workflow inlines the gate commands.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Found by
PR #28's final review; parked in the docs-drift catalog (issue 22, comment 24530) and moved here because it's a refactor, not a documentation fix.
What
.gitea/workflows/release-sweep.yamlrepeatsci.yaml's selftest gate steps (toolchain setup,shellcheck,selftest.sh) rather than sharing them. If the two drift apart, the sweep releases commits under a different gate than the merge path, and nothing would notice.Acceptance criteria
scripts/that both call, or a reusable workflow.