Repository navigation
GHA-338 Add SQAA integration to release automation - #156
nils-werner-sonarsource wants to merge 4 commits into
Conversation
Extends update-analyzer action and automated-release workflow to support updating sonar-analysis-as-a-service after a release, in addition to existing SQS and SQC integrations. - update-analyzer: add `target` input (sqs/sqc/sqaa) for explicit routing; falls back to ticket-key prefix for backward compat; adds TOML sed pattern for sqaa's libs.versions.toml - automated-release: add sqaa-integration (default: false) and plugin-artifacts-sqaa inputs; new update-sqaa step reuses SC ticket key; sqaa-pull-request-url wired through job/workflow outputs and summary Re-terraform update required to grant release-automation secrets access to sonar-analysis-as-a-service (tracked separately). Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
- Add sqaa-integration and plugin-artifacts-sqaa to inputs table - Expand outputs table (was only showing new-version, now lists all outputs) - Add SQAA integration section with prerequisites note - Update vault setup example with sonar-analysis-as-a-service - Update post-release checklist Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
karim-ouerghemmi-sonarsource
left a comment
There was a problem hiding this comment.
LGTM in general. Thanks for handling this!
Please check the one Gitar comment.
|
gitar auto-apply:on |
…ation prerequisite Co-authored-by: Nils Werner <64034005+nils-werner-sonarsource@users.noreply.github.com>
|
Using #157 instead |
Code Review ✅ Approved 2 resolved / 2 findingsIntegrates SQAA into release automation by adding target routing, TOML update logic, and PR tracking. Resolved issues regarding TOML over-matching and silent failures when SQAA is enabled without SQC. ✅ 2 resolved✅ Edge Case: TOML sed pattern over-matches plugin keys with shared prefix
✅ Quality: sqaa-integration without sqc-integration silently does nothing
Options ✅ Auto-apply✅ Auto-apply is on → Gitar will commit updates to this branch. Comment with these commands to change:
Was this helpful? React with 👍 / 👎 | Gitar |
|



Summary
update-analyzeraction with an explicittargetinput (sqs/sqc/sqaa), falling back to ticket-key prefix routing for backward compatibilitysqaatarget (updatesgradle/libs.versions.tomlinsonar-analysis-as-a-service)sqaa-integration(default:false) andplugin-artifacts-sqaainputs toautomated-release.yml; sqaa reuses the SC ticket key and requiressqc-integration: truesqaa-pull-request-urlthrough job outputs, workflow outputs, and the release summaryPrerequisites
A separate re-terraform PR must be merged to grant release-automation secrets access to
sonar-analysis-as-a-servicebefore enablingsqaa-integration: truein any analyzer workflow.Test plan
update-analyzerstill routes correctly for existingSONAR-*andSC-*ticket keys (notargetinput)target: sqaaproduces a PR insonar-analysis-as-a-serviceupdatinggradle/libs.versions.tomlsqaa-integration: false(default) skips the sqaa step entirelysqaa-pull-request-urlappears in the workflow summary when enabled🤖 Generated with Claude Code