Repository navigation
Description
What
.github/workflows/push.yaml still carries five multi-line run: steps, so ci-lint precheck reports a GEN-005 approved exception for the path. The Python-port sweep has already taken the sibling actions and workflows — windows-signing (#2816/#2820), windows-patches (#2804), setup-macos-codesigning (#2794), run-swift-format (#2792), the sanitizers workflow (#2780), leaderboard.yml (#2812), scheduled.yaml (#2822) — and push.yaml is one of the release-path files left.
Steps that carry a finding:
| job | step | what the block does |
|---|---|---|
deploy-documentation |
Get Commit Information 🆔 |
commitHash=${GITHUB_SHA:0:9} into $GITHUB_OUTPUT |
deploy-documentation |
Set Up Redirects 🔄 |
appends the two /previous/… lines (one of them using vars.CF_PAGES_PROJECT) to docs/_redirects |
create-release |
Check Release Tag ☑️ |
shopt -s extglob + case on GITHUB_REF_NAME: validTag, prerelease, version into $GITHUB_OUTPUT |
create-release |
Rename Files 🏷️ |
eleven mv -v <artifact dir>/<glob> OBS-Studio-<version>-<label>.<ext> moves |
create-release |
Generate Checksums 🪪 |
CHECKSUMS.txt header plus one sha256sum line per shipped artifact |
Every uses: step and every job stays as it is — only the shell blocks move.
Proposal
One PR, the same shape as #2794 and #2822:
ci/push_release.py— five subcommands, each keeping its step's behaviour exactly:commit-hash: theGITHUB_SHA[:9]value into$GITHUB_OUTPUT.set-redirects --project "${{ vars.CF_PAGES_PROJECT }}": the same two appended lines.check-tag: the extglob date/release forms translated to the equivalent anchored regular expressions (<digits>.<digits>.<digits>and the-beta*/-rc*prerelease form), writingvalidTag,prereleaseandversion.rename-artifacts --version <version>: the same eleven moves, globbed and requiring exactly one match asmvdid.checksums:### Checksumsplus one sha256 line per*.deb,*.ddeb,*.dmg,*.tar.xz,*.tar.gz,*.exe,*.zipin the workspace.
push.yaml: eachrun:becomes oneuv run --no-project --script ${{ github.workspace }}/ci/push_release.py <step>line, and both affected jobs gain theactions/checkoutand pinnedastral-sh/setup-uvsteps they need to see the module at all (neither job checks the repository out today).- Delete the GEN-005
[[exceptions]]block inci.tomlfor the path.
Scope note: this is a CI move, not a behaviour change. The RED test pins each subcommand's $GITHUB_OUTPUT lines, the redirect text, the tag matrix and the rename/checksum results in a temporary workspace, plus the workflow itself (one line per step, no shell block left, setup-uv before the first call); it fails on master because the module does not exist.
Not verified here: deploy-documentation and create-release are release-only jobs (github.ref_type == 'tag', upstream owner), so the first real proof is the next tagged release. The stub/fixture tests are the local evidence, as in the sibling ports.
Metadata
Metadata
Assignees
Type
Projects
- StatusShow more project fieldsDone
Activity
zackees commentedon Oct 28, 2026
Claiming: #2826
ci/push_release.pywithcommit-hash,set-redirects,check-tag,rename-artifactsandchecksums, each keeping its step's behaviour exactly.push.yaml: oneuv run --no-project --script${{ github.workspace }}/ci/push_release.py <step>line per step, plus theactions/checkoutand pinnedastral-sh/setup-uvstepsdeploy-documentationandcreate-releaseneed to see the module.[[exceptions]]block inci.tomlfor the path.First PR: RED test today, GREEN in the same PR.
zackees commentedon Oct 28, 2026
Landed in #2827 (squash
0fada4c78), six minutes after the RED test. The diff is the four intended paths:push.yaml(-88/+17),ci/push_release.py,ci/test_push_release.py, and the deletedci.tomlGEN-005 block.What moved. All five blocks are subcommands now —
commit-hash,set-redirects,check-tag,rename-artifacts,checksums— and both jobs gained theactions/checkoutplus pinnedastral-sh/setup-uvsteps they needed to see the module; neither checked the repository out before.Evidence.
The full local gate (
./unittest) was started and abandoned after 26 minutes in the Tier 2 Docker lane; a workflow-only diff selects no Rust lane, and PR CI's own lanes passed, so the merge queue ran the suite instead. Not verified anywhere yet: the two jobs are release-only (ref_type == 'tag', upstream owner), so the first real execution is the next tagged release. The fixture tests cover the tag matrix, the twelve renames, the redirect text and the checksum lines.Still carrying GEN-005 findings (each its own unit):
build-project.yaml(81),release-rust.yaml(22),windows-signing/action.yaml,sign-windows.yaml(its pre-checkout JWT step cannot call a module beforeactions/checkout),appimage.yaml,build-obs,package-obs,steam-upload,windows-analysis,analyze-project.yaml,ci.yml,publish.yaml, and thebuild-aux//.github/scripts/shell helpers.Closing: the path's findings are gone and its exception is deleted.
zackees commentedon Oct 28, 2026
Fixed by #2827 (merged
0fada4c78), which moves all fiverun:blocks toci/push_release.pysubcommands —commit-hash,set-redirects,check-tag,rename-artifacts,checksums— and deletes the GEN-005[[exceptions]]block for.github/workflows/push.yaml.57788d025(ci/test_push_release.pyonly):Ran 19 tests, FAILED (failures=27, errors=1).f7d03f7ff:Ran 19 tests, OK;ci-lint precheckno longer reports GEN-005 forpush.yaml, violation/needs_review counts unchanged from master.actions/checkoutand pinnedastral-sh/setup-uvsteps they need.Left unproven on purpose: both jobs are release-only (upstream owner,
ref_type == 'tag'), so the first real exercise is the next tagged release. The fixture tests carry the evidence until then. That is why the PR saidRefs; the port itself is complete, so closing here.ci(push): run the release workflow's steps as Python calls (GEN-005, o…