Repository navigation
Call the AgBOM Viewer workflow with the self-repository syntax - #780
Merged
Merged
Conversation
zizmor's self-repository audit (code scanning alert 18) asks for $/ in place of ./ in a same-repository uses. GitHub's July 30, 2026 changelog says $/ works for reusable workflow calls and resolves to the workflow's own repository at the exact commit that is running. deploy-pages.yml was the only ./ uses in the repository. The test that pins the viewer job now expects the new form. Signed-off-by: Rock Lambros <rock@rockcyber.com>
rocklambros
requested review from
GangGreenTemperTatum,
Lrd0036,
afogel,
almogbhl,
artmaro,
bar-capsule,
e2hln,
fewdisc,
mamicidal and
sclintonowasp
as code owners
December 3, 2026 20:47
Collaborator
Author
|
Admin merge: this closes code scanning alert 18, whose review thread blocks every pull request that touches this line. The viewer job passed through the new syntax on this pull request. |
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 changed
zizmor's self-repository audit (code scanning alert 18) flags
uses: ./.github/workflows/agbom-viewer.ymlin.github/workflows/deploy-pages.ymland asks for GitHub's self-repository syntax,$/. GitHub's changelog of July 30, 2026 says$/works for reusable workflow calls and resolves to the workflow's own repository at the exact commit that is running. It needs runner 2.336.0 or newer, which GitHub-hosted runners have.That line was the only
./uses in the repository. The test that pins the viewer job now expects$/. The alert's review thread also blocked PR #777 (the 0.1.6 promotion) and PR #734 (the release/0.2 sync) until someone resolved it, and it would block every pull request that touches this line.Which issue does this implement
None. This fixes code scanning alert 18.
meaning, so it needs no issue
Base branch
integration. Every pull request targetsintegration, documentation included.Only a promotion targets
main(see CONTRIBUTING.md)release/0.2, because this changes normative specification text, a schema, or aconformance requirement for 0.2, or carries out such a change in code
Type of change
I tested this
uv run pytest -vpasses on my machineuv run mkdocs build --strictpasses on my machinetests/test_deploy_pages_workflow.pyandtests/test_verify_published.pypass (19), and zizmor reports no findings across the repository. The viewer job runs on this pull request through the new$/call, so its checks show the syntax works.Checklist
git commit -s(required by the DCO)Security
The viewer workflow now resolves to the commit that is running, which zizmor treats as pinned.