Skip to content

Pin dependencies#47

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/github-actions
Open

Pin dependencies#47
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/github-actions

Conversation

@renovate
Copy link
Copy Markdown

@renovate renovate Bot commented May 7, 2026

This PR contains the following updates:

Package Type Update Change
SonarSource/ci-github-actions action pin v11.4.0
SonarSource/gh-action_release action pin v77.0.1

Add the preset :preserveSemverRanges to your config if you don't want to pin your dependencies.


Configuration

📅 Schedule: (in timezone Europe/Paris)

  • Branch creation
    • "after 7am every weekday,before 8pm every weekday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot requested a review from a team as a code owner May 7, 2026 10:18
@renovate renovate Bot added the dependencies label May 7, 2026
@renovate
Copy link
Copy Markdown
Author

renovate Bot commented May 7, 2026

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: undefined
Post-upgrade command 'pre-commit autoupdate --freeze || true' has not been added to the allowed list in allowedCommands

@sonar-review-alpha
Copy link
Copy Markdown

sonar-review-alpha Bot commented May 7, 2026

Summary

This PR pins two GitHub Actions to specific commit hashes, improving reproducibility and security. The changes affect two workflow files in .github/workflows/: build.yml and release.yml. Two SonarSource actions are updated from semantic version tags (v1 and v7) to pinned commit hashes with version comments for readability (1.4.0 and 7.0.1 respectively). This is a low-risk change with no functional impact on workflows.

What reviewers should know

What to review:

  • Two files changed: .github/workflows/build.yml and .github/workflows/release.yml
  • Same SonarSource action (ci-github-actions) updated in two places within build.yml (both pinned to the same hash)
  • Each change replaces a flexible tag with an immutable commit hash plus a version comment

Why this matters:
Pinning to commit hashes instead of tags (v1, v7) prevents unexpected action updates if maintainers push commits to these tags. This is a security/stability best practice for CI/CD workflows.

No manual review needed for functionality — this is a straightforward dependency pinning change generated by Renovate.


  • Generate Walkthrough
  • Generate Diagram

🗣️ Give feedback

sonar-review-alpha[bot]

This comment was marked as outdated.

@renovate renovate Bot force-pushed the renovate/github-actions branch from 31cfeaa to 362cb09 Compare May 8, 2026 23:03
@sonarqube-next
Copy link
Copy Markdown

sonarqube-next Bot commented May 8, 2026

Copy link
Copy Markdown

@sonar-review-alpha sonar-review-alpha Bot left a comment

Choose a reason for hiding this comment

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

LGTM! ✅

Clean, complete pin. All three previously mutable action references (build-maven, promote, and gh-action_release) are now immutably pinned, and no mutable tags remain in either workflow file. The style (hash + version comment) matches the already-pinned actions/checkout on line 24 of build.yml. Both ci-github-actions sub-actions share the same commit hash, as expected for a single-repo multi-action tag. The Renovate config in .github/renovate.json inherits SonarSource's shared dev-infra-squad preset, so these pins will be kept up to date automatically.

🗣️ Give feedback

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.

0 participants