Update SonarSource/gh-action_pre-commit action to v2 - autoclosed - #342
Closed
renovate[bot] wants to merge 1 commit into
Closed
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
|
Renovate Jira issue ID: BUILD-12524 |
renovate
Bot
force-pushed
the
renovate/major-github-actions
branch
from
September 7, 2026 16:46
82aec45 to
03fd76a
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This PR contains the following updates:
1.2.0→2.0.0Release Notes
SonarSource/gh-action_pre-commit (SonarSource/gh-action_pre-commit)
v2.0.0Compare Source
Breaking changes
Permission changes
id-token: writepermission is now requiredprivate-reader/public-readertoken used for Repoxauthentication (the reader is chosen from the repository visibility)
Input and output parameter changes
extra-argsnow has event-based defaults. Drop the old PR-only--from-ref/--to-refto use the now automaticallysupported
merge_groupandpushtriggers:pull_requestandmerge_groupevents: incremental--from-ref/--to-ref(base...head).push,workflow_dispatch, and other events:--all-files.ignore-failureinput is removed and can be safely dropped from the workflow. Hook failures now always fail theaction step, including on
pushandmerge_grouptriggers.statusandlogsoutputs are removed.Pre-commit version update
pre-commitCLI only when it is not already available in the environment.v1installed3.7.1;v2installs4.6.2. If a caller already providespre-commitonPATH(for example usingSonarSource/mise-action-wrapper), that version is used unchanged.Performance improvements
pre-commitCLI and hooks are cached on S3Full Changelog: SonarSource/gh-action_pre-commit@1.2.1...2.0.0
v1.2.2Compare Source
What's Changed
Bug Fixes
pre-commit install-hooksclones into~/.cache/pre-commit, outsideactions/checkout's workspace-scoped credentials, so unauthenticatedgit fetchof hook repos could fail intermittently on shared runner IPs (could not read Username for 'https://github.com'). Hook install and execution steps now rewritegithub.comURLs withGITHUB_TOKEN(step-scoped, not global) and useGIT_ASKPASSinstead of the ineffectiveGIT_TERMINAL_PROMPT. (#56, BUILD-12495)Full Changelog: SonarSource/gh-action_pre-commit@1.2.1...1.2.2
v1.2.1Compare Source
What's Changed
Dependency Updates
v6.1.0→v6.3.0(#45)v4→v4.0.1(#45)v5.0.1→v6.1.0(#46)v6.0.1→v7.0.0(#46)v2.0.0→v4.0.1(#46)v2→v4(#46)Internal & Chores
PullRequestClosed,PullRequestCreated,RequestReview,SubmitReview) to automate Jira status updates on PR review events, usingSonarSource/vault-action-wrapperfor credential retrieval (#49, BUILD-11517)Full Changelog: SonarSource/gh-action_pre-commit@1.2.0...1.2.1
Configuration
📅 Schedule: (in timezone Europe/Paris)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.