File tree 4 files changed +320
-1127
lines changed
4 files changed +320
-1127
lines changed Original file line number Diff line number Diff line change 5
5
- main
6
6
- master
7
7
pull_request :
8
- types :
8
+ types :
9
9
- labeled
10
10
11
11
concurrency :
34
34
runs-on : ubuntu-latest
35
35
timeout-minutes : 5
36
36
needs : check-plan
37
+ permissions :
38
+ contents : write
39
+ pull-requests : write
37
40
outputs :
38
41
explanation : ${{ steps.explanation.outputs.text }}
39
42
# only run on push event if plan wasn't updated (don't create a release plan when we're releasing)
@@ -60,18 +63,17 @@ jobs:
60
63
run : |
61
64
set -x
62
65
63
- pnpm release-plan prepare --single-package=ember-angle-brackets-codemod
66
+ pnpm release-plan prepare
64
67
65
68
echo 'text<<EOF' >> $GITHUB_OUTPUT
66
69
jq .description .release-plan.json -r >> $GITHUB_OUTPUT
67
70
echo 'EOF' >> $GITHUB_OUTPUT
68
71
env :
69
72
GITHUB_AUTH : ${{ secrets.GITHUB_TOKEN }}
70
73
71
- - uses : peter-evans/create-pull-request@v5
74
+ - uses : peter-evans/create-pull-request@v6
72
75
with :
73
76
commit-message : " Prepare Release using 'release-plan'"
74
- author :
" github-actions[bot] <[email protected] >"
75
77
labels : " internal"
76
78
branch : release-preview
77
79
title : Prepare Release
80
82
81
83
-----------------------------------------
82
84
83
- ${{ steps.explanation.outputs.text }}
85
+ ${{ steps.explanation.outputs.text }}
Original file line number Diff line number Diff line change 1
1
# For every push to the master branch, this checks if the release-plan was
2
2
# updated and if it was it will publish stable npm packages based on the
3
- # release plan
3
+ # release plan
4
4
5
5
name : Publish Stable
6
6
38
38
runs-on : ubuntu-latest
39
39
needs : check-plan
40
40
if : needs.check-plan.outputs.command == 'release'
41
+ permissions :
42
+ contents : write
43
+ pull-requests : write
41
44
42
45
steps :
43
46
- uses : actions/checkout@v4
56
59
57
60
env :
58
61
GITHUB_AUTH : ${{ secrets.GITHUB_TOKEN }}
59
- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
62
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 50
50
"execa" : " ^5.0.0" ,
51
51
"jest" : " ^28.1.3" ,
52
52
"prettier" : " ^2.7.1" ,
53
- "release-plan" : " ^0.4.1 "
53
+ "release-plan" : " ^0.7.0 "
54
54
},
55
55
"engines" : {
56
56
"node" : " 16.* || 18.* || >=20.*"
You can’t perform that action at this time.
0 commit comments