From 5192beb5dd255afd1e740dc67bd4f14e2563547d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ilkka=20Sepp=C3=A4l=C3=A4?= Date: Sun, 14 Jun 2020 22:36:47 +0300 Subject: [PATCH] Re-add gh access token --- .github/workflows/maven.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 1b0907950..458075a28 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -20,9 +20,12 @@ jobs: uses: actions/setup-java@v1 with: java-version: 11 + # Some tests need screen access - name: Install xvfb run: sudo apt-get install xvfb - name: Build with Maven run: xvfb-run mvn clean verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar env: + # These two env variables are needed for sonar analysis + GITHUB_TOKEN: ${{ secrets.REPOSITORY_ACCESS_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}