Authenticate release tag verification #7
Loading…
Reference in a new issue
No description provided.
Delete branch "codex/release-tag-auth"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The release workflow removes checkout credentials, so its later HTTPS
git ls-remotecan fail with exit 128 before verifying the release tag. Supply the workflow token only to the tag resolver, using a repository-scoped header in the child Git environment with redirects disabled. Credentials are not written to Git configuration or placed in command arguments. Exact tag/commit validation remains mandatory, and the existing beta tag is unchanged.Validation: seven release tests pass, including scoped credentials, invalid endpoints, missing/moved tags, and prerelease handling. Authenticated HTTPS verification against the real Forgejo endpoint resolves
v0.3.0b4to the intended immutable commit.