Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
if: "github.repository == 'poolifier/poolifier' && matrix.node-version == '14.x'"
uses: SonarSource/sonarcloud-github-action@master
env:
- GITHUB_TOKEN: ${{ secrets.USER_TOKEN }} # Needed to get PR information, if any
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: Benchmark
if: "github.repository == 'poolifier/poolifier' && github.ref == 'refs/heads/master'"
uses: ad-m/github-push-action@master
with:
- github_token: ${{ secrets.USER_TOKEN }}
+ github_token: ${{ secrets.GITHUB_TOKEN }}
branch: master