You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/user-guides/Perform_static_analysis.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,8 +27,8 @@ Static code analysis is an essential part of modern software development. It pro
27
27
-`sonar.[language].[coverage-tool].reportPaths` to ensure the unit test coverage is reported back to Sonar
28
28
- Do not set the `sonar.organization` and `sonar.projectKey` properties in this file; do the next step instead
29
29
- Follow the documentation on [creating encrypted secrets](https://docs.github.com/en/actions/security-guides/encrypted-secrets) to add the `SONAR_TOKEN` secret to your repository. The GitHub action is already configured to fetch that secret and pass it as a variable. In addition to that:
30
-
- Add `SONAR_ORGANISATION_KEY` secret
31
-
- Add `SONAR_PROJECT_KEY` secret
30
+
- Add `SONAR_ORGANISATION_KEY`variable (not a secret)
31
+
- Add `SONAR_PROJECT_KEY`variable (not a secret)
32
32
- Navigate to project `Administration > Analysis Method` and turn off the `Automatic Analysis` option
33
33
- Please, refrain from adding your repository to the GitHub SonarCloud App. Doing so will duplicate reports and initiate them outside the primary pipeline workflow
34
34
- Confirm that the GitHub action is part of your GitHub CI/CD workflow and enforces the "Sonar Way" quality gates. You can find more information about this in the [NHSE Software Engineering Quality Framework](https://github.com/NHSDigital/software-engineering-quality-framework/blob/main/tools/sonarqube.md)
0 commit comments