Skip to content

Use symbolic action references in release workflows - #18

Merged
samuel-williams-shopify merged 1 commit into
mainfrom
use-symbolic-action-tags
Sep 21, 2026
Merged

samuel-williams-shopify merged 1 commit into
mainfrom
use-symbolic-action-tags

Conversation

@samuel-williams-shopify

Copy link
Copy Markdown
Contributor

Use symbolic action references in the generated and checked-in release workflows: checkout v7, setup-ruby v1, attest v4, and upload-artifact v7. Document the moving-tag tradeoff. The standard CI workflows are handled separately in #17.

RubyGems credentials uses upstream's documented @main reference because it has no moving major tag. At review time this resolves to the existing pinned commit, so there is no action downgrade.

Checkout v7 rejects explicit fork PR merge SHAs even after merge. Opt in only for the publish checkout, after the inspection job verifies the merged PR, ancestry, and generated release content. A workflow test checks this restriction; unmerged PR validation remains read-only.

Validation: 6 setup tests / 38 assertions, RuboCop, generated-workflow YAML parsing, and exact agreement between templates and checked-in release files. No live release was run.

References: checkout v7, RubyGems action usage.

@samuel-williams-shopify
samuel-williams-shopify merged commit 42957ef into main Sep 21, 2026
17 checks passed
@samuel-williams-shopify
samuel-williams-shopify deleted the use-symbolic-action-tags branch September 21, 2026 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant