From 2ba4f142a77b4d193d1b8f8c8c191c84a5cf4731 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 21 Aug 2021 22:48:25 +0200 Subject: [PATCH] Use GitHub token in GH actions MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .github/workflows/ci.yml | 2 +- .github/workflows/generate-typedoc.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.34.1