From a17d17a41c36e2bdfaca0208c0c7c570ab5034d8 Mon Sep 17 00:00:00 2001 From: Pierre Slamich Date: Fri, 16 Aug 2024 21:59:19 +0200 Subject: [PATCH] ci: token --- .github/workflows/on-demand.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/on-demand.yml b/.github/workflows/on-demand.yml index ae92890c303..5b9889a43a8 100644 --- a/.github/workflows/on-demand.yml +++ b/.github/workflows/on-demand.yml @@ -22,7 +22,7 @@ jobs: env: REPO: ${{ github.repository }} PR_NO: ${{ github.event.issue.number }} - GITHUB_TOKEN: ${{ secrets.RELEASE_PLEASE_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Checkout uses: actions/checkout@v4 with: @@ -32,7 +32,7 @@ jobs: # We can't use GITHUB_TOKEN here because, github actions can't trigger actions # see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow # So this is a personal access token - token: ${{ secrets.RELEASE_PLEASE_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} # we need origin/main to have comparison linting work ! - name: Fetch origin/develop run: | @@ -83,7 +83,7 @@ jobs: env: REPO: ${{ github.repository }} PR_NO: ${{ github.event.issue.number }} - GITHUB_TOKEN: ${{ secrets.RELEASE_PLEASE_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Checkout uses: actions/checkout@v4 with: @@ -93,7 +93,7 @@ jobs: # We can't use GITHUB_TOKEN here because, github actions can't trigger actions # see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow # So this is a personal access token - token: ${{ secrets.RELEASE_PLEASE_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} # we need origin/main to have comparison linting work ! - name: Fetch origin/develop run: |