diff --git a/.github/workflows/enforce-linking-issues.yml b/.github/workflows/enforce-linking-issues.yml index 72b91f6636..d3f0470120 100644 --- a/.github/workflows/enforce-linking-issues.yml +++ b/.github/workflows/enforce-linking-issues.yml @@ -46,7 +46,7 @@ jobs: name: Suggest that the contributor linked an issue uses: actions/github-script@v7 with: - github-token: ${{ secrets.TOKEN_BOT_WORKFLOW }} + github-token: ${{ secrets.BOT_TOKEN_WORKFLOW }} script: | const login = "${{ github.event.pull_request.user.login }}"; const syntaxUrl = "https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue"; diff --git a/.github/workflows/update-release-project.yml b/.github/workflows/update-release-project.yml index 557e2c4e43..3ef5575bcc 100644 --- a/.github/workflows/update-release-project.yml +++ b/.github/workflows/update-release-project.yml @@ -18,7 +18,7 @@ jobs: id: get-project-url uses: actions/github-script@v7 with: - github-token: ${{ secrets.TOKEN_BOT_WORKFLOW }} + github-token: ${{ secrets.BOT_TOKEN_WORKFLOW }} result-encoding: string script: | const query = `query ($login: String!) { @@ -71,6 +71,6 @@ jobs: name: Add issue to project uses: actions/add-to-project@v0.5.0 with: - github-token: ${{ secrets.TOKEN_BOT_WORKFLOW }} + github-token: ${{ secrets.BOT_TOKEN_WORKFLOW }} project-url: ${{ steps.get-project-url.outputs.result }} labeled: release