Skip to content

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

Merged
dorian-burihabwa-sonarsource merged 1 commit into
masterfrom
feat/smarini/BUILD-13164-stepsecurity-actions
Nov 19, 2026
Merged

dorian-burihabwa-sonarsource merged 1 commit into
masterfrom
feat/smarini/BUILD-13164-stepsecurity-actions

Conversation

@sonar-platform-bot

Copy link
Copy Markdown
Contributor

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@08ae2a091c03 (v5.1.2) SonarSource/mise-action-wrapper@65aa289d3f40 (2.0.0)
.github/workflows/build.yml 67 jdx/mise-action@08ae2a091c03 (v5.1.2) SonarSource/mise-action-wrapper@65aa289d3f40 (2.0.0)
.github/workflows/build.yml 112 jdx/mise-action@08ae2a091c03 (v5.1.2) step-security/mise-action@a225bbd7c202 (v5.1.2)

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 notes

  • .github/workflows/build.yml:29: jdx/mise-action v5.1.2 -> SonarSource/mise-action-wrapper 2.0.0: runs step-security/mise-action v5.1.2; persist_github_token: false keeps the job token inside the mise step, as v5.1.2 did (the wrapper defaults to exporting it)
  • .github/workflows/build.yml:67: jdx/mise-action v5.1.2 -> SonarSource/mise-action-wrapper 2.0.0: runs step-security/mise-action v5.1.2; persist_github_token: false keeps the job token inside the mise step, as v5.1.2 did (the wrapper defaults to exporting it)
  • .github/workflows/build.yml:112: uses step-security/mise-action directly, because SonarSource/mise-action-wrapper cannot run in this job

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

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

Copy link
Copy Markdown

BUILD-13164

@gitar-bot

gitar-bot Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved 🟡 Medium risk

Replacing mise actions in .github/workflows/build.yml changes CI execution; incompatibilities in the maintained actions could disrupt builds.

Replaces third-party GitHub Actions in .github/workflows/build.yml with StepSecurity maintained copies pinned to commit SHAs, using SonarSource/mise-action-wrapper for two steps and step-security/mise-action for the third. No issues found.

Verification Rules 3/3 met PRs 2 inspected

Functional validation No results

Rules 3 passed 1 not applicable

✅ Approved GitHub Actions runners
✅ Internal artifact registries
✅ Repository license compliance

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

PR 373: BUILD-13373: Default self-hosted runners to repox.sonar.build Inspected
PR 114: BUILD-13164 Replace third-party GitHub Actions with StepSecurity maintained actions 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

Copy link
Copy Markdown

@sonar-platform-bot
sonar-platform-bot Bot marked this pull request as ready for review November 19, 2026 09:37
@sonar-platform-bot
sonar-platform-bot Bot requested a review from a team as a code owner November 19, 2026 09:37
@dorian-burihabwa-sonarsource
dorian-burihabwa-sonarsource merged commit de4d666 into master Nov 19, 2026
14 checks passed
@dorian-burihabwa-sonarsource
dorian-burihabwa-sonarsource deleted the feat/smarini/BUILD-13164-stepsecurity-actions branch November 19, 2026 15:54
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.

1 participant