Skip to content

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

Closed
Vamshi-Microsoft wants to merge 1 commit into
mainfrom
ci/pin-actions-and-git-diff
Closed

ci: pin third-party GitHub Actions to verified release SHAs#310
Vamshi-Microsoft wants to merge 1 commit into
mainfrom
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

Golden Path Validation

  • I have tested the primary workflows (the "golden path") to ensure they function correctly without errors.

Deployment Validation

  • I have validated the deployment process successfully and all services are running as expected with this change.

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.yml

Other Information

@github-actions

Copy link
Copy Markdown

Coverage

Coverage Report •
FileStmtsMissCoverMissing
TOTAL309720893% 
report-only-changed-files is enabled. No files were changed during this commit :)

Tests Skipped Failures Errors Time
588 0 💤 0 ❌ 0 🔥 27.024s ⏱️

@github-actions

Copy link
Copy Markdown

Coverage

Processor Coverage Report •
FileStmtsMissCoverMissing
TOTAL600984086% 
report-only-changed-files is enabled. No files were changed during this commit :)

Tests Skipped Failures Errors Time
834 0 💤 0 ❌ 0 🔥 21.129s ⏱️

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 CI workflows to improve supply-chain safety and reproducibility by pinning third-party GitHub Actions to immutable release SHAs, and it removes the tj-actions/changed-files dependency from the broken-links workflow by replacing it with a git diff-based step.

Changes:

  • Replace tj-actions/changed-files with a git diff-based change detector that preserves the outputs consumed by the Lychee step.
  • Pin MishaKav/pytest-coverage-comment, amannn/action-semantic-pull-request, and lycheeverse/lychee-action to specific commit SHAs.

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-files action with git diff logic and pins Lychee action to a SHA.
.github/workflows/pr-title-checker.yml Pins semantic PR title checker action to a SHA.
.github/workflows/test.yml Updates/pins pytest coverage comment action to a newer release SHA for both backend and processor jobs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/broken-links-checker.yml Outdated
@Vamshi-Microsoft Vamshi-Microsoft force-pushed the ci/pin-actions-and-git-diff branch from d9f7908 to f75d0b2 Compare June 30, 2026 08:10
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