From 2303a787efc3b435e48c89befdfcea9a67c8d24c Mon Sep 17 00:00:00 2001 From: Gao Sun Date: Tue, 15 Nov 2022 13:24:30 +0800 Subject: [PATCH] ci: set bot token for release workflow (#2441) --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ce6dc92fa..fb44ca684 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -86,6 +86,9 @@ jobs: if: ${{ !startsWith(github.ref, 'refs/tags/') }} steps: - uses: actions/checkout@v3 + with: + # Set Git operations with the bot PAT since we have tag protection rule + token: ${{ secrets.BOT_PAT }} - name: Setup Node and pnpm uses: silverhand-io/actions-node-pnpm-run-steps@v2