Repository navigation
BUILD-12282: Upgrade pre-commit CI to gh-action_pre-commit@v2 - #116
Conversation
julien-carsique-sonarsource
left a comment
There was a problem hiding this comment.
There's a mix of used versions for ci-github-actions
e38db30 to
f9570bd
Compare
Align the workflow with the v2 README skeleton: sonar-xs, job-level id-token permissions, event defaults, and bundled Repox auth.
f9570bd to
31e7f53
Compare
|
Code Review ✅ Approved 3 closed / 3 findingsUpgrades the pre-commit CI workflow to ✅ 3 closedClosed: Quality: checkout bumped v5->v7 here only, undocumented in description
Closed: Bug: Repox routing for pre-commit hook envs removed with no replacement
Closed: Security: harden-runner silently dropped; only workflow without it
VerificationFunctional validation No results Rules No rules evaluated Auto-approval Not enabledOptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar |



BUILD-12282: Upgrade pre-commit CI to gh-action_pre-commit@v2
Summary
.github/workflows/pre-commit.ymlto the v2 README skeletonpermissions(id-token: write,contents: read) andconcurrency(cancel-in-progress: true); remove job-levelpermissionspull_request,merge_group, andpushto the GitHub default branchsonar-xsactions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1withfetch-depth: 0@master(gh-action_pre-commit,mise-action-wrapper)extra-args,ignore-failurehelpers, and caller-side Repox/registry auth (bundled in v2)Depends on Vault Artifactory reader grants from the re-terraform-aws-vault order update.
Test plan
--all-files