Skip to content

Commit 5192beb

Browse files
committed
Re-add gh access token
1 parent f4f9c1a commit 5192beb

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/maven.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,12 @@ jobs:
2020
uses: actions/setup-java@v1
2121
with:
2222
java-version: 11
23+
# Some tests need screen access
2324
- name: Install xvfb
2425
run: sudo apt-get install xvfb
2526
- name: Build with Maven
2627
run: xvfb-run mvn clean verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
2728
env:
29+
# These two env variables are needed for sonar analysis
30+
GITHUB_TOKEN: ${{ secrets.REPOSITORY_ACCESS_TOKEN }}
2831
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 commit comments

Comments
 (0)