Skip to content

Pinned actions version use SHA-1#931

Merged
shibayan merged 1 commit into
masterfrom
pin-sha1-action
Jan 7, 2026
Merged

Pinned actions version use SHA-1#931
shibayan merged 1 commit into
masterfrom
pin-sha1-action

Conversation

@shibayan

@shibayan shibayan commented Jan 7, 2026

Copy link
Copy Markdown
Member

No description provided.

@shibayan shibayan self-assigned this Jan 7, 2026
Copilot AI review requested due to automatic review settings January 7, 2026 15:07
@shibayan shibayan added the enhancement New feature or request label Jan 7, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR enhances security by pinning GitHub Actions to specific SHA-1 commit hashes instead of mutable version tags, following security best practices to prevent supply chain attacks.

Key Changes:

  • All GitHub Actions across workflow files now use SHA-1 commit hashes with version comments for reference
  • Added security and quality queries configuration to CodeQL analysis

Reviewed changes

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

File Description
.github/workflows/publish.yml Pinned 5 actions (checkout, setup-dotnet, upload-artifact, azure/login, download-artifact) to SHA-1 hashes
.github/workflows/codeql.yml Pinned 2 actions (checkout, codeql-action init/analyze) to SHA-1 hashes and added security-extended queries
.github/workflows/build.yml Pinned 2 actions (checkout, setup-dotnet) to SHA-1 hashes

After reviewing this pull request, I found no issues that require comments. The changes consistently implement SHA-1 pinning across all workflow files, which is a security best practice. The version comments are properly formatted and help maintain readability. The additional queries parameter in the CodeQL workflow is a reasonable enhancement to enable more comprehensive security scanning.


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

@shibayan shibayan merged commit c3456b4 into master Jan 7, 2026
10 checks passed
@shibayan shibayan deleted the pin-sha1-action branch January 7, 2026 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants