Skip to content

ci: pin third-party GitHub Actions to verified release SHAs - #2288

Open
Vamshi-Microsoft wants to merge 1 commit into
Azure-Samples:mainfrom
Vamshi-Microsoft:ci/pin-actions-and-git-diff
Open

ci: pin third-party GitHub Actions to verified release SHAs#2288
Vamshi-Microsoft wants to merge 1 commit into
Azure-Samples:mainfrom
Vamshi-Microsoft:ci/pin-actions-and-git-diff

Conversation

@Vamshi-Microsoft

Copy link
Copy Markdown
Contributor

Purpose

  • Replace the tj-actions/changed-files action in broken-links-checker.yml with a built-in git diff step that detects changed Markdown files between the PR base and head SHAs, preserving the any_changed / all_changed_files outputs consumed by the lychee step. This removes a third-party dependency from change detection.
  • Pin third-party GitHub Actions to specific release commit SHAs (instead of mutable version tags) for reproducible and immutable workflow runs.

Does this introduce a breaking change?

  • Yes
  • No

How to Test

  • Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
  • Test the code

What to Check

Verify that the following are valid
Changed files:

  • .github/workflows/broken-links-checker.yml
  • .github/workflows/build-docker-images.yml
  • .github/workflows/ci.yml
  • .github/workflows/comment_coverage.yml
  • .github/workflows/pr-title-checker.yml

Other Information

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.

1 participant