Skip to content

security: Pin Github Actions#7

Open
hhvrc wants to merge 1 commit intomasterfrom
security/pin-gh-actions
Open

security: Pin Github Actions#7
hhvrc wants to merge 1 commit intomasterfrom
security/pin-gh-actions

Conversation

@hhvrc
Copy link
Copy Markdown
Contributor

@hhvrc hhvrc commented May 6, 2026

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:09
Copy link
Copy Markdown

Copilot AI left a comment

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 in the CI build workflow to immutable commit SHAs to reduce supply-chain risk, preserving a human-readable resolved version as a trailing comment.

Changes:

  • Updated actions/checkout, actions/setup-dotnet, and actions/upload-artifact references to use commit SHAs instead of tags.
  • Added trailing comments indicating the resolved action version for each pinned SHA.

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

Comment on lines 14 to +16
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Upload module artifact
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
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