Skip to content

Commit a04cc4f

Browse files
committed
Pass tokens around. I don't like this.
1 parent 3a7fedb commit a04cc4f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ jobs:
4040

4141
- name: Build with Maven
4242
if: matrix.arch == 'x64' && matrix.os == 'ubuntu-latest' && matrix.java == '11'
43+
env:
44+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
4346
run: mvn verify -B -"Dgpg.skip" org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
4447

4548
release:

0 commit comments

Comments
 (0)