@@ -18,7 +18,9 @@ This template comes with:
1818- Intl.
1919- State Management (Blocs/Cubit).
2020- Env config and flavors.
21- - Chat with Gemini and Vertex AI (Documantation and setup WIP)
21+ - Chat with Gemini and Vertex AI (Documentation and setup WIP)
22+ - GitWorkflow config: RS-GPT-Review
23+ - GitWorkflow config: Sonarqube
2224
2325## Initial Setup
2426
188190
189191We are using Bitrise to configure and run
190192the [CI/CD pipelines](https://www.notion.so/rootstrap/Flutter-CI-CD-9a0a5957ee8442908fc00c3ea8f49bf1)
191- .
193+
194+ ### Github Actions: RS-GPT-Review
195+ - Configure GPT secrets vars on your repo settings:
196+ - OPENAI_KEY
197+ #### Note: The action will only run if the description or comments mentions @rs-gpt-review
198+
199+ ### Github Actions: Sonarqube
200+ - Go to you sonarqube server and configure a new project.
201+ - Configure the sonar-project.properties:
202+ example:
203+ '''
204+ sonar.projectKey=your-app-key
205+ sonar.projectName=your-project-name
206+ sonar.host.url=https://your-sonarqube-server.net
207+ sonar.projectVersion=1.0
208+ sonar.sourceEncoding=UTF-8
209+ '''
210+ # Main source directories
211+ sonar.sources=app/lib,modules/domain,modules/data,modules/common
212+ sonar.dart.exclusions=pubspec.yaml
213+ sonar.dart.analyzer.report.mode=LEGACY
214+ - Configure Sonarqube secrets vars on your repo settings:
215+ - SONAR_TOKEN (your sonarqube project token)
216+ - SONAR_URL (your sonarqube server url)
192217
193218## License
194219
0 commit comments