Skip to content

Commit d5e21e1

Browse files
Wei WengWei Weng
authored andcommitted
use PAT token
Signed-off-by: Wei Weng <Wei.Weng@microsoft.com>
1 parent bb34ab8 commit d5e21e1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/backport.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
with:
2525
ref: main
2626
fetch-depth: 0
27-
token: ${{ secrets.GITHUB_TOKEN }}
27+
token: ${{ secrets.PAT_TOKEN }}
2828

2929
- name: Set up Go
3030
uses: actions/setup-go@v6
@@ -113,7 +113,7 @@ jobs:
113113
- name: Create Pull Request
114114
if: steps.commits.outputs.has_changes == 'true' && steps.merge.outputs.merge_status == 'success'
115115
env:
116-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
116+
GH_TOKEN: ${{ secrets.PAT_TOKEN }}
117117
run: |
118118
# Prepare PR body
119119
cat > /tmp/pr_body.md <<'EOF'

0 commit comments

Comments
 (0)