Pre-submission checks
What's the problem this feature will solve?
GitHub Actions now supports a dedicated syntax for sibling actions within a repository (docs). References like uses: my_org/my_repo/actions/foo@v1 can be replaced with uses: $/./actions/foo, avoiding the need to keep the internal references consistent and making it easier to work on one action and test it in another. Currently an action with that syntax fails with:
ERROR collect_inputs: github_actions_models::common: msg="malformed `uses` ref: missing `@<ref>` in $/git-sign"
fatal: no audit was performed
error: failed to load file://./tag-version/action.yml as action
|
= help: this typically indicates a bug in zizmor; please report it
= help: https://github.com/zizmorcore/zizmor/issues/new?template=bug-report.yml
Caused by:
0: failed to load file://./tag-version/action.yml as action
1: couldn't turn input into a an appropriate model
2: data did not match any variant of untagged enum Runs
Describe the solution you'd like
Add support for the new self-reference syntax.
Additional context
No response
Pre-submission checks
What's the problem this feature will solve?
GitHub Actions now supports a dedicated syntax for sibling actions within a repository (docs). References like
uses: my_org/my_repo/actions/foo@v1can be replaced withuses: $/./actions/foo, avoiding the need to keep the internal references consistent and making it easier to work on one action and test it in another. Currently an action with that syntax fails with:Describe the solution you'd like
Add support for the new self-reference syntax.
Additional context
No response