BUILD-11571: Clarify SCA Check failures that are due to vault auth#300
BUILD-11571: Clarify SCA Check failures that are due to vault auth#300bwalsh434 wants to merge 1 commit into
Conversation
|
gitar fix pre commit check (CI) |
79463a6 to
e01fd90
Compare
The pre-commit failure was |
9739138 to
863a56d
Compare
There was a problem hiding this comment.
Pull request overview
Updates the check-sca composite action’s failure/success workflow summaries to provide clearer, more actionable guidance when SCA cannot be verified—especially when Vault authentication/authorization prevents reading SonarQube credentials.
Changes:
- Adds a step that constructs a deep link to Port’s Manage Vault Policy self-service action (prefilled with repo + current week).
- Improves the “missing Vault access” failure path to point directly to the Port action and the SCA checks FAQ.
- Enhances the general workflow summary messaging when SCA verification fails (adds Vault-policy guidance + project key/analyzed-yet hint).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Code Review ✅ Approved 2 resolved / 2 findingsEnhanced SCA failure messaging with direct links to the Manage Vault Policy action, resolving the incorrect attribution of failures to Vault access. The output is now more concise and actionable for troubleshooting authentication or configuration issues. ✅ 2 resolved✅ Bug: Generate-summary failure text wrongly blames Vault access
✅ Edge Case: WEEK uses %Y_%V which mismatches ISO week-year at year boundaries
OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change:
Was this helpful? React with 👍 / 👎 | Gitar |
|



Summary
Rework the
check-scafailure output to be concise and actionable, centered on the most common fix: grant the repo access to the SonarQube secrets via the Manage Vault Policy SPEED action.$targetEntityandignore_secrets=true(auth-only) — then says to re-run.check-sca.project-keymay not match — pointing to the Verify SCA ran step logs for the per-platform diagnosis.Test Plan