File tree 5 files changed +59
-44
lines changed
5 files changed +59
-44
lines changed Original file line number Diff line number Diff line change
1
+ ## PR Checklist
2
+
3
+ Please check if your PR fulfills the following requirements:
4
+
5
+ <!-- - [ ] Tests for the changes have been added (for bug fixes/features)-->
6
+
7
+ - [ ] Docs have been added/updated (for bug fixes/features)
8
+
9
+ ## PR Type
10
+
11
+ What kind of change does this PR introduce?
12
+
13
+ <!-- Please check the one that applies to this PR using "x". -->
14
+
15
+ - [ ] Bugfix
16
+ - [ ] Feature
17
+ - [ ] Code style update (formatting, local variables)
18
+ - [ ] Refactoring (no functional changes, no API changes)
19
+ - [ ] Build related changes
20
+ - [ ] CI-related changes
21
+ - [ ] Documentation content changes
22
+ - [ ] Other... Please describe:
23
+
24
+ ## Issue Number
25
+
26
+ <!-- Bugs and features must be linked to an issue. -->
27
+
28
+ Issue Number: N/A
29
+
30
+ ## Does this PR introduce a breaking change?
31
+
32
+ <!-- If this PR contains a breaking change, please describe the impact and migration path for existing applications below. -->
33
+
34
+ - [ ] Yes
35
+ - [ ] No
36
+
37
+ ## Other information
38
+
39
+ @coderabbitai summary
Original file line number Diff line number Diff line change
1
+ ## PR Type
2
+
3
+ What kind of change does this PR introduce?
4
+
5
+ <!-- Please check the one that applies to this PR using "x". -->
6
+
7
+ - [x] Release
8
+
9
+ <!--
10
+ Please set this as a title and change the version number
11
+
12
+ If you don't know the version number, run on the main branch the release GitHub workflow with dryRun enabled
13
+
14
+ chore: prepare x.y.z
15
+ -->
Original file line number Diff line number Diff line change 1
- ## PR Checklist
1
+ Please go to the ` Preview ` tab and select the appropriate sub-template:
2
2
3
- Please check if your PR fulfills the following requirements:
4
-
5
- <!-- - [ ] Tests for the changes have been added (for bug fixes/features)-->
6
-
7
- - [ ] Docs have been added/updated (for bug fixes/features)
8
-
9
- ## PR Type
10
-
11
- What kind of change does this PR introduce?
12
-
13
- <!-- Please check the one that applies to this PR using "x". -->
14
-
15
- - [ ] Bugfix
16
- - [ ] Feature
17
- - [ ] Code style update (formatting, local variables)
18
- - [ ] Refactoring (no functional changes, no API changes)
19
- - [ ] Build related changes
20
- - [ ] CI-related changes
21
- - [ ] Documentation content changes
22
- - [ ] Other... Please describe:
23
-
24
- ## Issue Number
25
-
26
- <!-- Bugs and features must be linked to an issue. -->
27
-
28
- Issue Number: N/A
29
-
30
- ## Does this PR introduce a breaking change?
31
-
32
- <!-- If this PR contains a breaking change, please describe the impact and migration path for existing applications below. -->
33
-
34
- - [ ] Yes
35
- - [ ] No
36
-
37
- ## Other information
38
-
39
- @coderabbitai summary
3
+ * [ Default] ( ?expand=1&template=default_request_template.md )
4
+ * [ Release] ( ?expand=1&template=release_request_template.md )
Original file line number Diff line number Diff line change 11
11
12
12
jobs :
13
13
release :
14
+ if : (github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/release') || (github.event_name == 'workflow_dispatch' && github.event.inputs.dryRun == 'true' && github.ref == 'refs/heads/main')
14
15
name : Release new version 🛠
15
16
runs-on : ubuntu-latest
16
17
permissions :
19
20
issues : write
20
21
pull-requests : write
21
22
steps :
22
- - name : Fail if branch is not release
23
- if : github.event_name == 'workflow_dispatch' && github.ref != 'refs/heads/release'
24
- run : |
25
- echo "This workflow should not be triggered with workflow_dispatch on a branch other than release"
26
- exit 1
27
-
28
23
- name : Check out the code 🗄
29
24
uses : actions/checkout@v4
30
25
with :
Original file line number Diff line number Diff line change 39
39
"npm" : true ,
40
40
"changelog" : true ,
41
41
"branches" : [
42
+ " main" ,
42
43
" release" ,
43
44
{
44
45
"name" : " beta" ,
You can’t perform that action at this time.
0 commit comments