Use self-repository $/ syntax for local action references - #47
Merged
Conversation
GitHub Actions now supports referencing same-repository actions via uses: $/path instead of ./path, which resolves at the running commit without requiring a checkout. zizmor v1.29.0 added auditing support for this syntax. Drops the now-unnecessary checkout step in enforce-label.yml, and adds a scoped actionlint ignore for the "ref is missing" false positive actionlint currently raises for $/ references (rhysd/actionlint#711). Also bumps zizmor-action to v0.6.2, which bundles zizmor 1.29.0 (the release that added $/ support) as its default version.
blink1073
force-pushed
the
use-local-actions
branch
from
August 1, 2026 21:48
0972fb5 to
a201428
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
uses: ./actions/...references to GitHub's new self-repositoryuses: $/actions/...syntax (zizmor v1.29.0 added auditing support for it; GitHub announced it on 2026-07-30). It resolves to the running commit without needing a checkout, and keeps internal refs consistent even when callers pin to a full SHA.actions/checkoutstep inenforce-label.yml— it only existed to enable the old./reference..github/actionlint.yamlwith a narrowly-scoped ignore for actionlint'sref is missingfalse positive on$/refs, since actionlint doesn't support this syntax yet (rhysd/actionlint#711). Remove once that lands upstream.Test plan
just pre-commit --hook-stage=manualpasses (actionlint clean via the scoped ignore)just pre-commitpasses