Skip to content

[AAASM-3879] 🔧 (ci): SHA-pin python-sdk publish/toolchain actions#193

Draft
Chisanan232 wants to merge 2 commits into
masterfrom
v0.0.1/AAASM-3879/ci_pin_python-sdk
Draft

[AAASM-3879] 🔧 (ci): SHA-pin python-sdk publish/toolchain actions#193
Chisanan232 wants to merge 2 commits into
masterfrom
v0.0.1/AAASM-3879/ci_pin_python-sdk

Conversation

@Chisanan232

Copy link
Copy Markdown
Contributor

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 pinned pypa/gh-action-pypi-publish@release/v1@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0.
  • native-core-build.yml: dtolnay/rust-toolchain@stable@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable. The stable branch's action.yml still defaults toolchain: stable, so behavior is unchanged.

Matches the existing pin style already used in codeql.yml.

Type of Change

  • 🔧 Bug fix

Breaking Changes

  • No

Related Issues

  • Related JIRA ticket: AAASM-3879

Testing

  • No tests required (CI-config-only change; actionlint clean on both modified workflows)

Checklist

  • Code follows project style guidelines
  • Self-review completed
  • All tests passing

Closes AAASM-3879

🤖 Generated with Claude Code

https://claude.ai/code/session_019mSz31RysZF6DYToUoBWLf

Chisanan232 and others added 2 commits June 27, 2026 23:09
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant