Skip to content

Pin GitHub actions to a full length commit SHA#60

Merged
mpaladin merged 1 commit intomasterfrom
mp/pin-github-actions
Apr 30, 2025
Merged

Pin GitHub actions to a full length commit SHA#60
mpaladin merged 1 commit intomasterfrom
mp/pin-github-actions

Conversation

@sonarqube-next
Copy link
Copy Markdown

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@mpaladin mpaladin requested a review from Copilot April 30, 2025 09:34
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

This PR enhances the security of our GitHub Actions usage by pinning third-party actions to full-length commit SHAs instead of version tags.

  • Updated release workflow to pin sonar action release to a specific commit SHA.
  • Updated workflows for marking stale PRs, submitting reviews, requesting reviews, and handling PR closures by pinning associated actions to their respective commit SHAs.

Reviewed Changes

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

Show a summary per file
File Description
.github/workflows/release.yml Pin action for release to a full-length commit SHA with update of comment version.
.github/workflows/mark-prs-stale.yml Pin stale action to commit SHA while updating the version comment.
.github/workflows/SubmitReview.yml Pin vault and review submission actions to specific commit SHAs.
.github/workflows/RequestReview.yml Pin vault and review request actions to specific commit SHAs.
.github/workflows/PullRequestClosed.yml Pin vault and closed PR actions to specific commit SHAs.

@mpaladin mpaladin merged commit a7294af into master Apr 30, 2025
4 of 7 checks passed
@mpaladin mpaladin deleted the mp/pin-github-actions branch April 30, 2025 13:26
@mpaladin mpaladin removed the request for review from guillem-bartrina-sonarsource April 30, 2025 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants