Reference the release checks by the repository's own syntax - #320
Merged
Conversation
`uses: ./.github/workflows/ci.yml` and `uses: $/.github/workflows/ci.yml` both call the reusable CI workflow from the caller's own commit, but only the second says so. The relative form is the same spelling a path on disk would take, and GitHub resolves it against the repository rather than the checkout, which is a difference nothing in the file makes visible. zizmor 0.6.3 added the audit that flags this (`self-repository`, low, with an auto-fix), so the dependency bump in #300 fails on it until this lands.
davidmckayv
requested review from
MikeRyanDev,
guidovizoso and
tylerslaton
as code owners
September 1, 2026 20:09
1 task
davidmckayv
pushed a commit
that referenced
this pull request
Sep 1, 2026
Picks up the self-repository audit, which publish-release.yml was fixed for in #320.
7 tasks
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.
What this changes
One line in
publish-release.yml. The release gate calls CI as a reusable workflow, and it named it./.github/workflows/ci.yml. GitHub resolves both that and$/.github/workflows/ci.ymlthe sameway, from the caller's own commit, but the relative form is the same spelling a path on disk takes
and hides the fact that it is resolved against the repository rather than the checkout.
Why now
zizmor 0.6.3 added the
self-repositoryaudit, which flags exactly this. It is low severity and hasan auto-fix, but the security workflow exits non-zero on any finding, so #300 (the bump to 0.6.3)
cannot go green until this lands.
Verified against GitHub's own reusable-workflow documentation:
$/is the supported syntax for aworkflow in the same repository. The one caveat is that it is not available on GitHub Enterprise
Server, which does not apply here.