Hi team,
We currently use an internal CLI tool that developers run locally to onboard new projects into SonarQube. The CLI creates a SonarQube project and generates the required GitHub Actions workflow files, which developers then commit manually into their repositories.
We are exploring a more automated approach where a GitHub‑based agent, bot, or workflow can handle this onboarding process without requiring developers to run the CLI tool. The goal is to automatically:
-
Create a SonarQube project using the SonarQube API
-
Generate and commit the GitHub Actions workflow files into the repository
-
Reduce manual steps and ensure consistent onboarding across all projects
Additionally, we want to understand whether other organizations have a setup that also handles project naming conventions and assigns projects to the correct portfolio during onboarding.
Before designing this solution internally, we would like to know if SonarQube or other organizations have an existing setup, recommended pattern, or best practice for automated onboarding of projects into SonarQube and GitHub Actions.
Any guidance, examples, or recommendations would be appreciated.