Skip to content

Pin GitHub Actions to commit SHAs #6880

Merged
dlvenable merged 1 commit into
opensearch-project:mainfrom
Divyaasm:pin-actions-to-sha
May 26, 2026
Merged

Pin GitHub Actions to commit SHAs #6880
dlvenable merged 1 commit into
opensearch-project:mainfrom
Divyaasm:pin-actions-to-sha

Conversation

@Divyaasm
Copy link
Copy Markdown
Contributor

@Divyaasm Divyaasm commented May 21, 2026

Description

Pin all GitHub Action tag references to their corresponding commit SHAs.

Tags are mutable references that can be force-pushed to point to different commits, making them vulnerable to supply chain attacks. Commit SHAs are immutable and guarantee that the exact reviewed code is executed in CI workflows. This change pins all third-party actions to their current commit SHAs to prevent potential tampering.

Signed-off-by: Divya Madala <divyaasm@amazon.com>
@Divyaasm Divyaasm force-pushed the pin-actions-to-sha branch from 28e54c3 to 63191b4 Compare May 21, 2026 22:54
@Divyaasm Divyaasm changed the title Pin GitHub Actions to commit SHAs for supply chain security Pin GitHub Actions to commit SHAs May 21, 2026
Copy link
Copy Markdown
Member

@dlvenable dlvenable left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Divyaasm !

@dlvenable dlvenable merged commit b5b4431 into opensearch-project:main May 26, 2026
72 checks passed
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.

2 participants