ci: pin third-party GitHub Actions to verified release SHAs#446
Open
Vamshi-Microsoft wants to merge 1 commit into
Open
ci: pin third-party GitHub Actions to verified release SHAs#446Vamshi-Microsoft wants to merge 1 commit into
Vamshi-Microsoft wants to merge 1 commit into
Conversation
.NET Unit Test Results206 tests 206 ✅ 1s ⏱️ Results for commit 141eb76. |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR improves CI supply-chain security and reproducibility by pinning third-party GitHub Actions to immutable commit SHAs, and simplifies the broken-link checker by replacing a third-party changed-files action with a native git diff-based implementation.
Changes:
- Pin several third-party Actions to specific verified commit SHAs across multiple workflows.
- Replace
tj-actions/changed-filesusage in the broken-link workflow with agit diffstep that sets equivalent outputs. - Pin
lycheeverse/lychee-actionto a specific commit SHA for deterministic runs.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| .github/workflows/broken-links-checker.yml | Replace changed-file detection with git diff output and pin lycheeverse/lychee-action to a SHA. |
| .github/workflows/pr-title-checker.yml | Pin amannn/action-semantic-pull-request to a specific commit SHA. |
| .github/workflows/unit-tests-dotnet.yml | Pin coverage comment + test result publishing actions to specific commit SHAs. |
| .github/workflows/unit-tests.yml | Pin coverage comment + test result publishing actions to specific commit SHAs. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Purpose
tj-actions/changed-filesaction in the broken-link checker with a built-ingit diffstep, which removes a third-party dependency from change detection.Changes:
.github/workflows/broken-links-checker.yml— replacetj-actions/changed-fileswith a built-ingit diffstep; pinlycheeverse/lychee-actionto8646ba3(v2.8.0)..github/workflows/pr-title-checker.yml— pinamannn/action-semantic-pull-requestto48f2562(v6.1.1)..github/workflows/unit-tests-dotnet.yml— pinMishaKav/pytest-coverage-commenttoe48ae95(v1.8.0); pinEnricoMi/publish-unit-test-result-actiontod0a4676(v2.24.0)..github/workflows/unit-tests.yml— pinMishaKav/pytest-coverage-commenttoe48ae95(v1.8.0); pinEnricoMi/publish-unit-test-result-actiontod0a4676(v2.24.0).Does this introduce a breaking change?
Golden Path Validation
Deployment Validation
What to Check
Verify that the following are valid
Other Information