Skip to content

security: Pin Github Actions#1

Merged
hhvrc merged 2 commits into
masterfrom
security/pin-gh-actions
Jul 8, 2026
Merged

security: Pin Github Actions#1
hhvrc merged 2 commits into
masterfrom
security/pin-gh-actions

Conversation

@hhvrc

@hhvrc hhvrc commented May 6, 2026

Copy link
Copy Markdown
Contributor

Pins all third-party GitHub Actions in workflows and composite actions to immutable commit SHAs, with the resolved tag preserved in a trailing comment.

Generated by pin_github_actions.py.

Copilot AI review requested due to automatic review settings May 6, 2026 20:10

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Pins GitHub Actions used by the CI/build and release workflows to immutable commit SHAs to reduce supply-chain risk, while keeping the resolved tag/version as a trailing comment.

Changes:

  • Pin actions/checkout, actions/setup-dotnet, actions/upload-artifact, actions/download-artifact, and softprops/action-gh-release to full commit SHAs in the Release workflow.
  • Apply the same SHA pinning in the Build workflow (including its draft-release job).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/release.yml Replaces action tags with pinned commit SHAs for build + release steps.
.github/workflows/build.yml Replaces action tags with pinned commit SHAs for build + (tag-gated) draft release steps.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/release.yml Outdated
Comment thread .github/workflows/build.yml
# Conflicts:
#	.github/workflows/build.yml
#	.github/workflows/release.yml
@stage-review

stage-review Bot commented Jul 8, 2026

Copy link
Copy Markdown

Ready to review this PR? Stage has broken it down into 2 individual chapters for you:

Title
1 Pin GitHub Actions in build workflow
2 Pin GitHub Actions in release workflow
Open in Stage

Chapters generated by Stage for commit 5d78ae8 on Jul 8, 2026 8:21pm UTC.

@hhvrc hhvrc merged commit b520856 into master Jul 8, 2026
6 checks passed
@hhvrc hhvrc deleted the security/pin-gh-actions branch July 8, 2026 20:22
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