Skip to content

chore: update GitHub Actions workflows to pin action versions and improve formatting#470

Merged
jongalloway merged 1 commit into
mainfrom
pin-github-actions
Jun 9, 2026
Merged

chore: update GitHub Actions workflows to pin action versions and improve formatting#470
jongalloway merged 1 commit into
mainfrom
pin-github-actions

Conversation

@jongalloway

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings June 9, 2026 17:21

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 updates multiple GitHub Actions workflows to improve supply-chain security and consistency by pinning third-party actions to immutable commit SHAs and standardizing YAML formatting.

Changes:

  • Pinned commonly used GitHub Actions (e.g., actions/checkout, actions/setup-dotnet, artifacts, Codecov, NuGet login, CodeQL) to specific commit SHAs.
  • Normalized YAML indentation/formatting across workflows (including list formatting and workflow_dispatch structure).
  • Minor readability tweaks (e.g., moving inline comments to their own lines in on.workflow_dispatch).
Show a summary per file
File Description
.github/workflows/release-scenarios.yml Reformats workflow and pins checkout/setup-dotnet to commit SHAs for the manual release scenario test runs.
.github/workflows/publish-nuget.yml Pins publishing pipeline actions (checkout/setup-dotnet/NuGet login/artifacts) to commit SHAs and improves workflow_dispatch formatting.
.github/workflows/publish-mcp-registry.yml Pins actions/checkout to a commit SHA for registry publishing workflow consistency.
.github/workflows/copilot-setup-steps.yml Pins checkout and setup-dotnet to commit SHAs for reproducible Copilot setup steps.
.github/workflows/codeql.yml Pins checkout, setup-dotnet, and CodeQL actions; also normalizes trigger formatting.
.github/workflows/build.yml Pins actions used across build/test/coverage jobs and standardizes trigger list formatting.

Copilot's findings

  • Files reviewed: 6/6 changed files
  • Comments generated: 0

@jongalloway jongalloway merged commit 47cef63 into main Jun 9, 2026
11 checks passed
@jongalloway jongalloway deleted the pin-github-actions branch June 9, 2026 17:42
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