Skip to content

Update SonarSource/gh-action_pre-commit action to v2 - autoclosed - #342

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

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

Conversation

@renovate

@renovate renovate Bot commented Sep 6, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
SonarSource/gh-action_pre-commit action major 1.2.0 → 2.0.0

Release Notes

SonarSource/gh-action_pre-commit (SonarSource/gh-action_pre-commit)

v2.0.0

Compare Source

Breaking changes

Permission changes
  • id-token: write permission is now required
  • The repository must be granted Vault access to the Artifactory private-reader / public-reader token used for Repox
    authentication (the reader is chosen from the repository visibility)
Input and output parameter changes
  • extra-args now has event-based defaults. Drop the old PR-only --from-ref / --to-ref to use the now automatically
    supported merge_group and push triggers:
    • on pull_request and merge_group events: incremental --from-ref / --to-ref (base...head).
    • on push, workflow_dispatch, and other events: --all-files.
  • ignore-failure input is removed and can be safely dropped from the workflow. Hook failures now always fail the
    action step, including on push and merge_group triggers.
  • status and logs outputs are removed.
Pre-commit version update
  • The action installs the pre-commit CLI only when it is not already available in the environment. v1 installed
    3.7.1; v2 installs 4.6.2. If a caller already provides pre-commit on PATH (for example using
    SonarSource/mise-action-wrapper), that version is used unchanged.

Performance improvements

  • pre-commit CLI and hooks are cached on S3

Full Changelog: SonarSource/gh-action_pre-commit@1.2.1...2.0.0

v1.2.2

Compare Source

What's Changed

Bug Fixes
  • Authenticate git clones of pre-commit hook repos: pre-commit install-hooks clones into ~/.cache/pre-commit, outside actions/checkout's workspace-scoped credentials, so unauthenticated git fetch of hook repos could fail intermittently on shared runner IPs (could not read Username for 'https://github.com'). Hook install and execution steps now rewrite github.com URLs with GITHUB_TOKEN (step-scoped, not global) and use GIT_ASKPASS instead of the ineffective GIT_TERMINAL_PROMPT. (#​56, BUILD-12495)

Full Changelog: SonarSource/gh-action_pre-commit@1.2.1...1.2.2

v1.2.1

Compare Source

What's Changed

Dependency Updates
Package Update Change
actions/setup-python minor v6.1.0 → v6.3.0 (#​45)
nick-fields/assert-action pin v4 → v4.0.1 (#​45)
actions/cache major v5.0.1 → v6.1.0 (#​46)
actions/checkout major v6.0.1 → v7.0.0 (#​46)
nick-fields/assert-action major v2.0.0 → v4.0.1 (#​46)
nick-fields/assert-action major v2 → v4 (#​46)
Internal & Chores
  • Added GitHub workflows (PullRequestClosed, PullRequestCreated, RequestReview, SubmitReview) to automate Jira status updates on PR review events, using SonarSource/vault-action-wrapper for credential retrieval (#​49, BUILD-11517)

Full Changelog: SonarSource/gh-action_pre-commit@1.2.0...1.2.1


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 becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • 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 added the dependencies label Sep 6, 2026
@renovate
renovate Bot requested a review from a team as a code owner September 6, 2026 22:53
@hashicorp-vault-sonar-prod

hashicorp-vault-sonar-prod Bot commented Sep 6, 2026 •

Copy link
Copy Markdown

Renovate Jira issue ID: BUILD-12524

@renovate
renovate Bot force-pushed the renovate/major-github-actions branch from 82aec45 to 03fd76a Compare September 7, 2026 16:46
@sonarqubecloud

sonarqubecloud Bot commented Sep 7, 2026

Copy link
Copy Markdown

@renovate renovate Bot changed the title Update SonarSource/gh-action_pre-commit action to v2 Update SonarSource/gh-action_pre-commit action to v2 - autoclosed Sep 9, 2026
@renovate renovate Bot closed this Sep 9, 2026
@renovate
renovate Bot deleted the renovate/major-github-actions branch September 9, 2026 15:26
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