Skip to content

Explain missing release versions when pinning the install action by SHA - #2902

Open
im-xiangda-li wants to merge 1 commit into
stellar:mainfrom
im-xiangda-li:fix/action-version-sha-pin
Open

im-xiangda-li wants to merge 1 commit into
stellar:mainfrom
im-xiangda-li:fix/action-version-sha-pin

Conversation

@im-xiangda-li

Copy link
Copy Markdown

What

Closes #2874. The install action validates the selected CLI release version at the version step and shows how to set with.version when the action is pinned to a commit SHA. The README now includes a SHA-pinning example.

Why

Without an explicit version, a SHA pin previously became the CLI version and produced a release download URL that returned HTTP 404 after retries. Rejecting that input during version selection gives the caller an actionable error. Release-tag refs and valid explicit versions still produce the same release version for download and attestation.

Known limitations

I ran the actual Bash version step locally. The original step accepted a SHA as the release version. The fixed step passed seven cases covering release tags, explicit versions, prerelease suffixes, and missing versions on SHA, branch, and local refs. The end-to-end GitHub Actions job has not run locally.

@github-project-automation github-project-automation Bot moved this to Backlog (Not Ready) in DevX Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog (Not Ready)

Development

Successfully merging this pull request may close these issues.

GitHub Action fails with a 404 when pinned by commit SHA

1 participant