Skip to content

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

Merged
leonardo-pilastri-sonarsource merged 2 commits into
masterfrom
feat/smarini/BUILD-13164-stepsecurity-actions
Nov 19, 2026
Merged

leonardo-pilastri-sonarsource merged 2 commits into
masterfrom
feat/smarini/BUILD-13164-stepsecurity-actions

Conversation

@sonar-platform-bot

@sonar-platform-bot sonar-platform-bot Bot commented Nov 18, 2026 •

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 177 astral-sh/setup-uv@68559e99cc80 (v10.3.3) step-security/setup-uv@b49aac5576b9 (v10.3.3)
.github/workflows/ruling-diff-comment.yml 43 astral-sh/setup-uv@68559e99cc80 (v10.3.3) step-security/setup-uv@b49aac5576b9 (v10.3.3)

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

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.

Kept on upstream

  • .github/workflows/PrepareNextIteration.yml:23 jdx/mise-action v5.2.8
  • .github/workflows/build.yml:34 jdx/mise-action v5.2.8
  • .github/workflows/build.yml:88 jdx/mise-action v5.2.8
  • .github/workflows/build.yml:224 jdx/mise-action v5.2.8
  • .github/workflows/build.yml:294 jdx/mise-action v5.2.8
  • .github/workflows/build.yml:341 jdx/mise-action v5.2.8
  • .github/workflows/build.yml:378 jdx/mise-action v5.2.8
  • .github/workflows/build.yml:427 jdx/mise-action v5.2.8
  • .github/workflows/unified-dogfooding.yml:20 jdx/mise-action v5.2.8

jdx/mise-action v5.2.0+ checks the downloaded mise binary against its signed release packslip; StepSecurity's most recent release (and the wrapper, which runs it) predates that check, so these steps stay on upstream until StepSecurity publishes v5.2 or later.

@hashicorp-vault-sonar-prod

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

Copy link
Copy Markdown
Contributor

BUILD-13164

@gitar-bot

gitar-bot Bot commented Nov 18, 2026

Copy link
Copy Markdown
Code Review ✅ Approved 🟡 Medium risk

Replacing the action in two CI workflows changes code that installs uv; its implementation is outside the diff, leaving execution impact uncertain.

Replaces astral-sh/setup-uv with the StepSecurity copy, pinned to commit SHA b49aac5576b9 (v10.3.3), in .github/workflows/build.yml and .github/workflows/ruling-diff-comment.yml. Nine jdx/mise-action steps stay on upstream because StepSecurity's release lacks the binary signature check. No issues found.

Verification Rules 2/3 met PRs 1 inspected
Rules 1 failed 2 passed 1 not applicable

❌ Approved GitHub Actions runners - The repo still uses retired sonar-xs-public runner labels (e.g. in PrepareNextIteration.yml, ReleasabilityCheck.yml, build.yml, and cleanup-cache.yml). Migrate them to approved labels such as sonar-xs or github-ubuntu-latest-s per the internal GitHub Actions runners policy, though this PR does not introduce them.
✅ Internal artifact registries
✅ Repository license compliance

Functional validation No results

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

PR 6457: RC-354 Pin core-languages-tooling-public actions to the current master commit 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
Contributor

@sonar-platform-bot
sonar-platform-bot Bot marked this pull request as ready for review November 19, 2026 09:36
@leonardo-pilastri-sonarsource
leonardo-pilastri-sonarsource merged commit 06560a2 into master Nov 19, 2026
20 checks passed
@leonardo-pilastri-sonarsource
leonardo-pilastri-sonarsource deleted the feat/smarini/BUILD-13164-stepsecurity-actions branch November 19, 2026 09:46
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