We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95b67ef commit 84690c5Copy full SHA for 84690c5
.github/workflows/create-pr.yml
@@ -5,6 +5,10 @@ on:
5
branches:
6
- canary
7
8
+permissions:
9
+ contents: write
10
+ pull-requests: write
11
+
12
jobs:
13
create-pr:
14
runs-on: ubuntu-latest
@@ -48,8 +52,8 @@ jobs:
48
52
- name: Create Pull Request
49
53
if: env.VERSION_CHANGED == 'true' && env.PR_EXISTS == '0'
50
54
run: |
51
- git config --global user.name "GitHub Actions"
- 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"
57
58
git fetch origin main
59
git checkout -b release/${{ env.VERSION }}
@@ -65,4 +69,4 @@ jobs:
65
69
--reviewer siumauricio \
66
70
--assignee siumauricio
67
71
env:
68
- GH_TOKEN: ${{ secrets.GH_PAT }}
72
+ GH_TOKEN: ${{ github.token }}
0 commit comments