Repository navigation
Description
Problem
The e2e-smoke workflow (#58) closed the "does the bundled action actually commit?" gap by running the action as uses: ./ on every PR. But it runs the action from a branch checkout, never from the published git tag a real consumer pins (uses: vig-os/[email protected]). Nothing in the pipeline executes the released artifact the way it is actually consumed, from the tag ref, after it is pushed.
This matters most for release candidates: after release.yml pushes vX.Y.Z-rcN, we currently have no automated proof that a consumer pinning that tag gets a working, signing action on node24. Validating an RC by hand is the symptom.
Why not fold it into the release pipeline
The project-owned release-extension.yml runs before publish (job graph core -> extension -> publish) and checks out finalize_sha, so the tag does not exist yet at extension time — it cannot uses: @<tag>. The release.yml/-core/-publish workflows are devkit-managed (regenerated on upgrade), so they should not be edited locally.
The clean, project-owned home is a separate workflow triggered by the tag push itself. The release pipeline pushes tags with the Release App token (not GITHUB_TOKEN), so tag-push events do trigger downstream workflows.
Proposed solution
A new project-owned workflow (sibling of e2e-smoke) that:
- Triggers on
push: tags: ['v*.*.*'](matches RCsv0.3.0-rc1and finalsv0.3.0; excludes the floatingv0/v0.Xtags that move on promotion) andworkflow_dispatchwith arefinput, so we can trigger it for an already-pushed tag (e.g. the currentv0.3.0-rc1). - Checks out the action at that tag into a path and runs it via
uses: ./<path>(GitHub forbids expressions inuses:, so the checkout-then-local-usesform is the faithful way to pin an arbitrary tag). - Reuses the
e2e-smokeassertions: create a scratch branch, commit a unique file through the REST flow, then assert the commit exists, is signed (verification.verified == true), and round-trips the expected content; delete the scratch branch on exit.
Acceptance criteria
- Workflow runs automatically on any
vX.Y.Z/vX.Y.Z-rcNtag push and asserts a signed commit from the tag artifact. -
workflow_dispatchaccepts a tag ref and validates it (used to validatev0.3.0-rc1). - No recursion (scratch-branch push does not re-trigger the tag filter) and no interference with the release pipeline.
- Lands on
main(required forworkflow_dispatchto be dispatchable).
Activity