From 9a1ca3a7accd760ec081e486015ec47b6ad66073 Mon Sep 17 00:00:00 2001 From: Nikola Irinchev Date: Sun, 24 Nov 2024 01:52:51 +0100 Subject: [PATCH] Use the devtoolsbot token to merge the PR --- .github/workflows/prepare-release.yml | 1 + .github/workflows/publish-release.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index f5ee3cf..810398a 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -36,6 +36,7 @@ jobs: with: branch: release/${{ steps.version.outputs.new-version }} title: 'chore: bump version to ${{ steps.version.outputs.new-version }}' + token: ${{ secrets.SVC_DEVTOOLSBOT_TOKEN }} draft: false body: | An automated PR for next release. diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index c67ed42..7d23068 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -44,7 +44,7 @@ jobs: - name: Merge Pull Request uses: juliangruber/merge-pull-request-action@9234b8714dda9a08f3d1df5b2a6a3abd7b695353 # 1.3.1 with: - github-token: ${{ secrets.GITHUB_TOKEN }} + github-token: ${{ secrets.SVC_DEVTOOLSBOT_TOKEN }} number: ${{ steps.find-pull-request.outputs.number }} method: squash