Skip to content

BUILD-13164 Replace third-party GitHub Actions with StepSecurity maintained actions - #200

Draft
sonar-platform-bot[bot] wants to merge 1 commit into
masterfrom
feat/smarini/BUILD-13164-stepsecurity-actions-2
Draft

sonar-platform-bot[bot] wants to merge 1 commit into
masterfrom
feat/smarini/BUILD-13164-stepsecurity-actions-2

Conversation

@sonar-platform-bot

@sonar-platform-bot sonar-platform-bot Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

What

Replaces third-party GitHub Actions with the StepSecurity maintained copies of the same actions. Each new uses: line is pinned to a commit SHA, with the version in a comment.

File Line Before After
.github/workflows/build.yml 29 jdx/mise-action@3277a0f27290 (v5.4.0) SonarSource/mise-action-wrapper@058f4c006a2d (2.2.0)
.github/workflows/build.yml 89 jdx/mise-action@3277a0f27290 (v5.4.0) SonarSource/mise-action-wrapper@058f4c006a2d (2.2.0)
.github/workflows/unified-dogfooding.yml 21 jdx/mise-action@3277a0f27290 (v5.4.0) SonarSource/mise-action-wrapper@058f4c006a2d (2.2.0)

Why

StepSecurity maintains hardened copies of these actions that track upstream releases. Using them, pinned by SHA, reduces exposure to a compromised upstream release or tag.

Scope is a fixed list of actions. Other third-party actions in these workflows, such as slackapi/slack-github-action, are left as they are on purpose, even when a StepSecurity copy exists.

Version downgrades

These steps move to an older release than the one pinned before, because the StepSecurity maintained copy has no newer release yet. Inputs and outputs these steps use exist in the copy (checked when this PR was prepared). The release notes of the skipped upstream versions are at https://github.com/jdx/mise-action/releases.

  • .github/workflows/build.yml:29: Downgrade v5.4.0 -> v5.3.0 (StepSecurity maintained; upstream v5.4.0 is not yet available from StepSecurity)
  • .github/workflows/build.yml:89: Downgrade v5.4.0 -> v5.3.0 (StepSecurity maintained; upstream v5.4.0 is not yet available from StepSecurity)
  • .github/workflows/unified-dogfooding.yml:21: Downgrade v5.4.0 -> v5.3.0 (StepSecurity maintained; upstream v5.4.0 is not yet available from StepSecurity)

Version notes

  • .github/workflows/build.yml:29: jdx/mise-action v5.4.0 -> SonarSource/mise-action-wrapper 2.2.0: runs step-security/mise-action v5.3.0; Downgrade v5.4.0 -> v5.3.0 (StepSecurity maintained; upstream v5.4.0 is not yet available from StepSecurity); persist_github_token: false keeps the job token inside the mise step, as v5.4.0 did (the wrapper defaults to exporting it)
  • .github/workflows/build.yml:89: jdx/mise-action v5.4.0 -> SonarSource/mise-action-wrapper 2.2.0: runs step-security/mise-action v5.3.0; Downgrade v5.4.0 -> v5.3.0 (StepSecurity maintained; upstream v5.4.0 is not yet available from StepSecurity); persist_github_token: false keeps the job token inside the mise step, as v5.4.0 did (the wrapper defaults to exporting it)
  • .github/workflows/unified-dogfooding.yml:21: jdx/mise-action v5.4.0 -> SonarSource/mise-action-wrapper 2.2.0: runs step-security/mise-action v5.3.0; Downgrade v5.4.0 -> v5.3.0 (StepSecurity maintained; upstream v5.4.0 is not yet available from StepSecurity); persist_github_token: false keeps the job token inside the mise step, as v5.4.0 did (the wrapper defaults to exporting it)

What to check

  • CI on this PR runs the replaced steps; they should pass as they did before.
  • Workflows that only run on push, schedule, release or dispatch are not exercised by this PR; their uses: lines change the same way.
  • Inputs and outputs used by these steps exist in the new actions (checked when this PR was prepared).

This PR is opened as a draft. Engineering Experience will not merge it; please review and merge.

@hashicorp-vault-sonar-prod

Copy link
Copy Markdown

BUILD-13164

Comment thread .github/workflows/build.yml Resolved
@sonar-platform-bot
sonar-platform-bot Bot force-pushed the feat/smarini/BUILD-13164-stepsecurity-actions-2 branch from 26d33d8 to e45df18 Compare December 4, 2026 19:07
@gitar-bot

gitar-bot Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved 🟡 Medium risk 1 closed / 1 findings

Replacing mise actions with a wrapper running v5.3.0 changes CI setup and token persistence, potentially affecting tool installation or later steps.

Replaces jdx/mise-action with the StepSecurity-maintained SonarSource/mise-action-wrapper at 2.2.0 in .github/workflows/build.yml and .github/workflows/unified-dogfooding.yml, with each uses: line pinned to a commit SHA. The PR description table still lists wrapper 2.1.0 (f6366c8008c1) as the target for these steps, so it does not match the pinned 2.2.0 SHA and should be updated. Consider noting that the cache key moves from v2 to v3, so each job gets one cache miss on its first run after the upgrade.

✅ 1 closed
Closed: Quality: PR description table still lists wrapper 2.1.0 / f6366c8 after bump

📄 .github/workflows/build.yml:29 📄 .github/workflows/build.yml:90 📄 .github/workflows/unified-dogfooding.yml:21
This commit pins all three SonarSource/mise-action-wrapper steps to 058f4c006a2d… (2.2.0). The "What" table in the PR description still shows f6366c8008c1 (2.1.0) as the target for build.yml:29, build.yml:89 and unified-dogfooding.yml:21, while the "Version notes" section of the same description says 2.2.0. Reviewers checking the pins against the table will see SHAs that don't match. Update the table to SonarSource/mise-action-wrapper@058f4c006a2d (2.2.0). It may also help to note that, per the 2.2.0 release notes, the cache key moves from v2 to v3, so each job gets one cache miss the first time it runs after the upgrade.

Verification Rules 5/5 met Dependencies 0/1 checked PRs 1 inspected

Functional validation No results

Rules 5 passed 1 not applicable

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

Dependencies 0/1 checked

⬜ SonarSource/mise-action-wrapper@2.2.0 Not checked

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

PR 10: Update dependency mise to 2026.11.14 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

@sonarqube-next

sonarqube-next Bot commented Dec 4, 2026

Copy link
Copy Markdown

This branch has not been deployed

No deployments
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