Use an allowed token name for the GitHub one
authorJérôme Benoit <jerome.benoit@sap.com>
Sat, 21 Aug 2021 11:32:40 +0000 (13:32 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sat, 21 Aug 2021 11:32:40 +0000 (13:32 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.github/workflows/ci.yml

index d64aa21216f5aa7dc2df2c9759d10c2f374f6417..8fd1920686e00e0dc458d732dcc7447effdb026e 100644 (file)
@@ -51,7 +51,7 @@ jobs:
         run: |
           npm run sonar
         env:
-          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
+          GITHUB_TOKEN: ${{ secrets.USER_TOKEN }} # Needed to get PR information, if any
           SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
 
       - name: Benchmark