From 8c378b3b97a610e28422bb318d2abbc52d537218 Mon Sep 17 00:00:00 2001 From: Dominik Kapusta Date: Wed, 31 Jan 2024 19:18:44 +0100 Subject: [PATCH] Use a specific token for merging to main --- .github/workflows/tag_and_merge.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/tag_and_merge.yml b/.github/workflows/tag_and_merge.yml index add6993c32..6c23366442 100644 --- a/.github/workflows/tag_and_merge.yml +++ b/.github/workflows/tag_and_merge.yml @@ -32,6 +32,8 @@ on: secrets: ASANA_ACCESS_TOKEN: required: true + GHA_MERGE_TOKEN: + required: true jobs: tag-and-merge: @@ -90,6 +92,7 @@ jobs: id: merge uses: actions/github-script@v7 with: + github-token: ${{ secrets.GHA_MERGE_TOKEN }} script: | github.rest.repos.merge({ owner: context.repo.owner,