chore: update GitHub Actions workflows to pin action versions and improve formatting#470
Merged
Conversation
Contributor
There was a problem hiding this comment.
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_dispatchstructure). - 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.