Skip to content

Commit 21ec231

Browse files
authored
Reference the release checks by the repository's own syntax (#320)
`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 takes, and GitHub resolves it against the repository rather than the checkout. zizmor 0.6.3 added the audit that flags it.
1 parent e5f721e commit 21ec231

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/publish-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
checks:
101101
needs: [metadata, verify]
102102
if: needs.metadata.outputs.is_release == 'true'
103-
uses: ./.github/workflows/ci.yml
103+
uses: $/.github/workflows/ci.yml
104104
permissions:
105105
contents: read
106106

0 commit comments

Comments
 (0)