Skip to content

IST-5460 Bump vault-action-wrapper to 3.8.0 - #449

Merged
julien-carsique-sonarsource merged 1 commit into
masterfrom
chore/jcarsique/IST-5460-bumpVaultActionWrapper
Nov 20, 2026
Merged

julien-carsique-sonarsource merged 1 commit into
masterfrom
chore/jcarsique/IST-5460-bumpVaultActionWrapper

Conversation

@julien-carsique-sonarsource

@julien-carsique-sonarsource julien-carsique-sonarsource commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

IST-5460 Bump vault-action-wrapper to 3.8.0

Summary

All 14 pins of SonarSource/vault-action-wrapper in 11 workflows move to
3.8.0 (996f98a8), from 3.5.0 and 3.6.1: the
reusable workflows consumed by the release callers (main.yaml, cratesio.yaml, javadoc-publication.yaml,
npmjs.yaml, pypi.yaml) and the repository's own workflows.

3.8.0 adds a third Vault login with github-{org}-{repo} when both logins with github-{org}-{repo}-protected failed on
a branch-* or tag ref, so a repository whose protected role binds fewer refs than the default keeps the secrets its base
role can read instead of failing at login. It only returns secrets the base role can read: a request that includes a
protected-only path still fails, with a diagnosis for the base role. main, master, pull requests and an explicit role
are unchanged.

Why now: the protected Vault role of the repositories holding protected content stops binding tags
(re-terraform-aws-vault#9994, ticket
IST-5460); the release callers get the fallback only once a release of this
action carries the new pin.

The renovate/github-actions branch has no pull request yet and moves the same pins to 3.7.0; it is stale with this change.

Test plan

  • Wrapper 3.8.0 on a branch-* ref whose protected role is denied: speed-automations run 44753148473
    shows the protected role denied twice, then the base role succeeding and returning a token, and a path the repository cannot
    read still failing with a diagnosis on the base role.
  • This repository's checks on this pull request: 15 pass and 7 are skipped, among them Test reusable workflow / Release
    (the reusable workflow with the new pin), Test action, the download-build IT tests, Test Javadoc Script and Build.

3.8.0 adds a third Vault login with the base role when both logins with the
protected role failed on a branch-* or tag ref, instead of failing at login.
The release workflows and the repository's own workflows call the wrapper
with a pinned SHA, so they only get it with this bump.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@gitar-bot

gitar-bot Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved 🔴 High risk

Updating Vault pins adds base-role fallback on branch/tag refs, potentially making base-role-readable secrets available when protected-role access is denied.

Bumps all 14 SonarSource/vault-action-wrapper pins across 11 workflows from 3.5.0 and 3.6.1 to 3.8.0, adding a fallback third Vault login for branch-* and tag refs when protected role logins fail. No issues found.

Verification Rules 4/4 met PRs 1 inspected

Functional validation No results

Rules 4 passed 1 not applicable

✅ Approved GitHub Actions runners
✅ Internal artifact registries
✅ Release secrets usage
✅ Repository license compliance

Broader impact PRs 1 inspected
Cross-PR 1 PR inspected 0 open impacts

PR 86: IST-5460 Select the protected role on main, master and branch-* only Inspected

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Auto-apply is off → Gitar will not commit updates to this branch.
Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Auto-apply Compact
gitar auto-apply:on         
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Gitar

@hashicorp-vault-sonar-prod

hashicorp-vault-sonar-prod Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

IST-5460

@sonarqubecloud

Copy link
Copy Markdown

@julien-carsique-sonarsource
julien-carsique-sonarsource marked this pull request as ready for review November 20, 2026 16:37
@julien-carsique-sonarsource
julien-carsique-sonarsource requested a review from a team as a code owner November 20, 2026 16:37
@julien-carsique-sonarsource
julien-carsique-sonarsource merged commit 759aa31 into master Nov 20, 2026
24 checks passed
@julien-carsique-sonarsource
julien-carsique-sonarsource deleted the chore/jcarsique/IST-5460-bumpVaultActionWrapper branch November 20, 2026 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants