From c5fa7979ac051ff34842da5d9571cd9a0a9a9faf Mon Sep 17 00:00:00 2001 From: Will Smith Date: Mon, 11 Nov 2024 11:09:38 -0800 Subject: [PATCH] Fix GH PAT scope (#1272) Signed-off-by: willdavsmith --- .github/workflows/upmerge.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/upmerge.yaml b/.github/workflows/upmerge.yaml index 69e1cd82b..f57422178 100644 --- a/.github/workflows/upmerge.yaml +++ b/.github/workflows/upmerge.yaml @@ -58,6 +58,8 @@ jobs: # branch is assumed to be the current release branch, but could be any branch. # If there are no changes, stop the workflow. - name: Upmerge docs + env: + GITHUB_TOKEN: ${{ secrets.GH_RAD_CI_BOT_PAT }} run: | export SOURCE_BRANCH=$(basename ${{ github.ref }}) echo "Upmerging docs from $SOURCE_BRANCH to edge" @@ -78,5 +80,5 @@ jobs: - name: Create pull request if: env.NO_CHANGES != 'true' env: - GITHUB_TOKEN: ${{ secrets.GH_RAD_CI_BOT_PAT}} + GITHUB_TOKEN: ${{ secrets.GH_RAD_CI_BOT_PAT }} run: gh pr create --title "Upmerge to edge" --body "Upmerge to edge (kicked off by @${{ github.triggering_actor }})" --base edge --head $BRANCH_NAME