From: Jérôme Benoit Date: Sat, 21 Aug 2021 20:45:40 +0000 (+0200) Subject: Use GitHub token in GH actions X-Git-Tag: v1.0.40~3 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=fb9809a7ade71d691390c71daf821bbdb8c711bf;p=e-mobility-charging-stations-simulator.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 e4d010d9..f7fc9451 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,7 +35,7 @@ jobs: - name: SonarCloud Scan 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 }} build-docker: runs-on: ubuntu-latest diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml index 32c812ff..d0213942 100644 --- a/.github/workflows/greetings.yml +++ b/.github/workflows/greetings.yml @@ -8,6 +8,6 @@ jobs: steps: - uses: actions/first-interaction@v1 with: - repo-token: ${{ secrets.USER_TOKEN }} + repo-token: ${{ secrets.GITHUB_TOKEN }} issue-message: 'Welcome to your first issue in e-Mobility software' pr-message: 'Welcome to your first PR in e-Mobility software'