Skip to content

Commit 84690c5

Browse files
committed
chore: update pr
1 parent 95b67ef commit 84690c5

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/create-pr.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
branches:
66
- canary
77

8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
812
jobs:
913
create-pr:
1014
runs-on: ubuntu-latest
@@ -48,8 +52,8 @@ jobs:
4852
- name: Create Pull Request
4953
if: env.VERSION_CHANGED == 'true' && env.PR_EXISTS == '0'
5054
run: |
51-
git config --global user.name "GitHub Actions"
52-
git config --global user.email "actions@github.com"
55+
git config --global user.name "github-actions[bot]"
56+
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
5357
5458
git fetch origin main
5559
git checkout -b release/${{ env.VERSION }}
@@ -65,4 +69,4 @@ jobs:
6569
--reviewer siumauricio \
6670
--assignee siumauricio
6771
env:
68-
GH_TOKEN: ${{ secrets.GH_PAT }}
72+
GH_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)