Release pin: keep the shell and defaults ban, which still guards what the pinned release line runs

A job or workflow defaults.run.shell can run the exact Publish line through any
command, with the token in its env. Only continue-on-error leaves the pin: a
check that fails inside the guard refuses the release whatever the step allows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-03 14:37:38 +02:00
commit 19b52b16c3
2 changed files with 17 additions and 10 deletions

View file

@ -292,10 +292,11 @@ Python packages the sdist and wheel build, whose output is all the PyPI upload
step uploads. The checks run without `NODE_OPTIONS`, `NODE_TEST_CONTEXT`, any
other `NODE_TEST_*` variable and `NODE_AUTH_TOKEN`, so no inherited variable can
make the tests run nothing and pass; only the release action receives the token.
The gate is that call, not a step condition, so no `if:`, `continue-on-error` or
`shell` on another step can release what a check refused. The tests compare
each job's release steps with their expected text exactly, less the steps' `if:`
lines. Removing the call is still possible, but only as a visible edit to those
The gate is that call, not a step condition, so no `if:` or `continue-on-error`
can release what a check refused. The tests compare each job's release steps
with their expected text exactly, less the steps' `if:` lines, and refuse `shell`
and `defaults` anywhere in the workflow, which could run a release step's line
through another command. Removing the call is still possible, but only as a visible edit to those
steps and to the tests.
`org.gamecult.cultlib` compiles CultMath from source and ships beside