From f7c29d3fd6b05b3440a75c4da135a5390c6b4a9c Mon Sep 17 00:00:00 2001 From: Mahmoud Mazouz Date: Thu, 25 Jan 2024 15:33:04 +0100 Subject: [PATCH] fix: Typo (TOKEN_BOT_WORKFLOW -> BOT_TOKEN_WORKFLOW) --- .github/workflows/enforce-linking-issues.yml | 2 +- .github/workflows/update-release-project.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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