From: Jérôme Benoit Date: Sat, 21 Aug 2021 20:48:25 +0000 (+0200) Subject: Use GitHub token in GH actions X-Git-Tag: v2.1.0~5 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=2ba4f142a77b4d193d1b8f8c8c191c84a5cf4731;p=poolifier.git Use GitHub token in GH actions Signed-off-by: Jérôme Benoit --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4a560022..b4699c6e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,7 +50,7 @@ jobs: 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 diff --git a/.github/workflows/generate-typedoc.yml b/.github/workflows/generate-typedoc.yml index 842f4667..4dfe66ab 100644 --- a/.github/workflows/generate-typedoc.yml +++ b/.github/workflows/generate-typedoc.yml @@ -35,5 +35,5 @@ jobs: 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