You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Action ref is misresolved when a numeric tag matches an abbreviated commit SHA prefix #4878
Unable to resolve action `danielpalme/reportgenerator-github-action@5`, the provided ref `5` is the shortened version of a commit SHA, which is not supported. Please use the full commit SHA `5f3701a41d14548c9b8e575a5c235230e515cbc0` instead.
The tag appears to point to commit 5f3701a41d14548c9b8e575a5c235230e515cbc0.
Expected behavior
An exact tag name should take precedence over abbreviated-SHA interpretation. The runner should resolve @5 to tag 5, not reject it as an abbreviated commit SHA.
Reproduction
Reference the existing action tag:
uses: danielpalme/ReportGenerator-GitHub-Action@5
Run the workflow.
The run fails during action setup, before any workflow step executes.
The tag name 5 is also a hexadecimal prefix of commit 5f3701a41d14548c9b8e575a5c235230e515cbc0. The resolver appears to encounter this ambiguity and incorrectly classifies 5 as an abbreviated SHA.
Workaround
The failure can be avoided by using the exact release tag:
Activity
ci: pin the ReportGenerator action to 5.6.0