Skip to content

Pin GH Actions to commit sha#143

Closed
votdev wants to merge 1 commit into
mainfrom
pin-ci-actions
Closed

Pin GH Actions to commit sha#143
votdev wants to merge 1 commit into
mainfrom
pin-ci-actions

Conversation

@votdev
Copy link
Copy Markdown
Member

@votdev votdev commented Mar 24, 2026

Pin GH Actions to commit sha

Related to: harvester/harvester#10279

Signed-off-by: Volker Theile <vtheile@suse.com>
Copilot AI review requested due to automatic review settings March 24, 2026 08:20
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Pins external GitHub Actions used in this repository’s CI workflows to immutable commit SHAs to reduce supply-chain risk and improve build reproducibility.

Changes:

  • Replaces floating action refs (e.g., @v4, @master, @main) with full commit SHAs in multiple workflows.
  • Adds inline version comments alongside SHAs to preserve human readability (e.g., # v4).
  • Pins CodeQL, Trivy, Docker, and Vault-secrets related actions consistently across build and scanning workflows.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
.github/workflows/template-build.yml Pins checkout + Docker-related actions + vault secrets action to SHAs in the reusable build workflow.
.github/workflows/scan.yml Pins checkout, Trivy action, and SARIF upload action to SHAs in the vulnerability scanning workflow.
.github/workflows/fossa.yml Pins vault secrets and FOSSA action to SHAs in the FOSSA scanning workflow.
.github/workflows/codeql-analysis.yml Pins checkout and CodeQL actions to SHAs in the CodeQL analysis workflow.

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

@votdev votdev self-assigned this Mar 24, 2026
@votdev votdev requested a review from ibrokethecloud March 24, 2026 08:23
@votdev
Copy link
Copy Markdown
Member Author

votdev commented Mar 24, 2026

@Mergifyio backport v1.8

@mergify
Copy link
Copy Markdown

mergify Bot commented Mar 24, 2026

backport v1.8

🟠 Waiting for conditions to match

Details
  • merged [📌 backport requirement]

@votdev votdev closed this Mar 24, 2026
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