File tree 2 files changed +7
-8
lines changed
2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 14
14
- beta
15
15
- rc
16
16
17
- permissions :
18
- contents : write
19
- pull-requests : write
17
+ permissions : {} # we use a personal access token to push the branch and create the PR
20
18
21
19
jobs :
22
20
prepare_release_pr :
29
27
uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
30
28
with :
31
29
fetch-depth : 0
30
+ token : ${{ secrets.GH_TOKEN }}
32
31
33
32
- name : Install pnpm
34
33
uses : pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
46
45
47
46
- name : Run release
48
47
run : |
49
- git config user.name "github-actions[bot] "
50
- git config user.email "41898282+ github-actions[ bot]@users.noreply.github.com "
48
+ git config user.name "FakerJS Bot "
49
+ git config user.email "github-bot@fakerjs.dev "
51
50
if [ $RELEASE_TYPE = 'stable' ]; then
52
51
pnpm run release
53
52
else
82
81
- Checklist: TODO add link to issue
83
82
"
84
83
env :
85
- GH_TOKEN : ${{ github.token }}
84
+ GH_TOKEN : ${{ secrets.GH_TOKEN }}
Original file line number Diff line number Diff line change 4
4
release :
5
5
types : [published]
6
6
7
- permissions :
8
- contents : write # to push the release branch
7
+ permissions : {} # we use a personal access token to push the release branch
9
8
10
9
jobs :
11
10
publish :
17
16
uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
18
17
with :
19
18
fetch-depth : 0 # we want to push the release branch later
19
+ token : ${{ secrets.GH_TOKEN }}
20
20
21
21
- name : Install pnpm
22
22
uses : pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
You can’t perform that action at this time.
0 commit comments