Skip to content

Commit

Permalink
Fix GH PAT scope (#1272)
Browse files Browse the repository at this point in the history
Signed-off-by: willdavsmith <willdavsmith@gmail.com>
  • Loading branch information
willdavsmith authored Nov 11, 2024
1 parent 855cfd1 commit c5fa797
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/upmerge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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

0 comments on commit c5fa797

Please sign in to comment.