diff --git a/.github/workflows/bot-pr-comment.yml b/.github/workflows/bot-pr-comment.yml index 1de7474eb3c..d8768d50dfd 100644 --- a/.github/workflows/bot-pr-comment.yml +++ b/.github/workflows/bot-pr-comment.yml @@ -35,7 +35,7 @@ jobs: persist-credentials: false - name: Commit formatting changes env: - GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: cp --preserve .github/format.sh /tmp && /tmp/format.sh rebase: diff --git a/.github/workflows/check-formatting.yml b/.github/workflows/check-formatting.yml index 8ceb210005a..98a9550a29c 100644 --- a/.github/workflows/check-formatting.yml +++ b/.github/workflows/check-formatting.yml @@ -13,7 +13,7 @@ jobs: run: cp .github/check-format.sh /tmp && /tmp/check-format.sh id: pre-commit env: - GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Upload code formatting patch if: ${{ failure() && steps.pre-commit.outcome == 'failure' }} uses: actions/upload-artifact@v3