Repository navigation
JS-2482 Pin issue_comment vault-action-wrapper to 3.7.0 correctly - #7964
Conversation
| @@ -24,7 +24,7 @@ jobs: | |||
| steps: | |||
| - name: Get cross-repo dispatch token from Vault | |||
There was a problem hiding this comment.
💡 Security: Sibling step in same job still on mutable @master ref
This PR fixes the ref in the secrets step (verified: SonarSource/vault-action-wrapper publishes unprefixed tags — refs/tags/3.7.0 exists, v3.7.0 does not, and v3 is a branch — so the previous @v3.7.0 could not resolve and the job failed at step 1). The pinning is incomplete for this workflow, though: the next step in the same job still uses SonarSource/core-languages-tooling-public/pvf-trigger@master, a mutable branch of another repo, and it receives the Vault DISPATCH_TOKEN (actions:write on SonarSource/peachee-js) via its dispatch-token input, which the composite action exports into a run: shell step. Any push to that branch changes what executes with that token in an issue_comment-triggered workflow, with no review on this side; pin it to a tag or full commit SHA like the vault step.
Was this helpful? React with 👍 / 👎
Code Review 👍 Approved with suggestions 0 resolved / 1 findingsPins the 💡 Security: Sibling step in same job still on mutable
|
| Auto-apply | Compact |
|
|
Was this helpful? React with 👍 / 👎 | Gitar
Ruling ReportNo changes to ruling expected issues in this PR |
|





Part of