[AAASM-3879] 🔧 (ci): SHA-pin python-sdk publish/toolchain actions#193
Draft
Chisanan232 wants to merge 2 commits into
Draft
[AAASM-3879] 🔧 (ci): SHA-pin python-sdk publish/toolchain actions#193Chisanan232 wants to merge 2 commits into
Chisanan232 wants to merge 2 commits into
Conversation
Replace the mutable `@release/v1` branch ref in the OIDC publish job with the commit SHA for v1.14.0 so an upstream mutable-ref move or action compromise cannot silently alter the Trusted Publisher step. Refs AAASM-3879 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019mSz31RysZF6DYToUoBWLf
Pin the `@stable` branch ref to its commit SHA (matching the codeql.yml pin style); the stable branch action.yml still defaults toolchain=stable, so behavior is unchanged. Refs AAASM-3879 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019mSz31RysZF6DYToUoBWLf
4 tasks
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.
Description
SHA-pin two third-party GitHub Actions in python-sdk CI so a mutable-ref move or upstream action compromise cannot silently alter a step. Part 1 of 2 for AAASM-3879 (the node-sdk half ships as a separate PR).
release-python.yml: OIDC PyPI Trusted Publisher step pinnedpypa/gh-action-pypi-publish@release/v1→@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0.native-core-build.yml:dtolnay/rust-toolchain@stable→@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable. The stable branch'saction.ymlstill defaultstoolchain: stable, so behavior is unchanged.Matches the existing pin style already used in
codeql.yml.Type of Change
Breaking Changes
Related Issues
Testing
actionlintclean on both modified workflows)Checklist
Closes AAASM-3879
🤖 Generated with Claude Code
https://claude.ai/code/session_019mSz31RysZF6DYToUoBWLf