ci: pin third-party GitHub Actions to verified release SHAs#884
Open
Vamshi-Microsoft wants to merge 1 commit into
Open
ci: pin third-party GitHub Actions to verified release SHAs#884Vamshi-Microsoft wants to merge 1 commit into
Vamshi-Microsoft wants to merge 1 commit into
Conversation
Contributor
Contributor
There was a problem hiding this comment.
Pull request overview
This PR hardens CI workflows by removing a compromised third-party “changed files” action from the broken-link checker and by pinning third-party GitHub Actions to immutable, verified release commit SHAs to reduce supply-chain risk.
Changes:
- Replace
tj-actions/changed-filesin the broken-link checker with a built-ingit diff-based step that emits compatible outputs. - Pin
lycheeverse/lychee-action,amannn/action-semantic-pull-request, andMishaKav/pytest-coverage-commentto the commit SHAs behind their release tags.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| .github/workflows/broken-links-checker.yml | Replaces changed-file detection with git diff and pins lychee-action to a release SHA. |
| .github/workflows/pr-title-checker.yml | Pins action-semantic-pull-request to the commit SHA for v6.1.1. |
| .github/workflows/test.yml | Pins pytest-coverage-comment to the commit SHA for v1.8.0. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
438290c to
d5031e0
Compare
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 inbroken-links-checker.ymlwith a built-ingit diffstep that detects changed Markdown files between the PR base and head SHAs, preserving theany_changed/all_changed_filesoutputs consumed by the lychee step. This removes a third-party dependency from change detection.Does this introduce a breaking change?
Golden Path Validation
Deployment Validation
What to Check
Verify that the following are valid
Changed files:
.github/workflows/broken-links-checker.yml.github/workflows/pr-title-checker.yml.github/workflows/test.ymlOther Information