Skip to content

Commit 07e9d7c

Browse files
DeeDeeGgengjiawen
andauthored
meta: add release-please-action for automated releases (#2395)
Co-authored-by: gengjiawen <[email protected]>
1 parent 4b83c3d commit 07e9d7c

File tree

3 files changed

+98
-80
lines changed

3 files changed

+98
-80
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Contributor guide: https://github.com/nodejs/node/blob/master/CONTRIBUTING.md
1010
- [ ] `npm install && npm test` passes
1111
- [ ] tests are included <!-- Bug fixes and new features should include tests -->
1212
- [ ] documentation is changed or added
13-
- [ ] commit message follows [commit guidelines](https://github.com/nodejs/node/blob/master/doc/guides/contributing/pull-requests.md#commit-message-guidelines)
13+
- [ ] commit message follows [commit guidelines](https://github.com/googleapis/release-please#how-should-i-write-my-commits)
1414

1515
##### Description of change
1616
<!-- Provide a description of the change -->

.github/workflows/release-please.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: release-please
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
release-please:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: google-github-actions/release-please-action@v2
13+
id: release
14+
with:
15+
package-name: node-gyp
16+
release-type: node
17+
changelog-types: >
18+
[{"type":"feat","section":"Features","hidden":false},
19+
{"type":"fix","section":"Bug Fixes","hidden":false},
20+
{"type":"bin","section":"Core","hidden":false},
21+
{"type":"gyp","section":"Core","hidden":false},
22+
{"type":"lib","section":"Core","hidden":false},
23+
{"type":"src","section":"Core","hidden":false},
24+
{"type":"test","section":"Tests","hidden":false},
25+
{"type":"build","section":"Core","hidden":false},
26+
{"type":"clean","section":"Core","hidden":false},
27+
{"type":"configure","section":"Core","hidden":false},
28+
{"type":"install","section":"Core","hidden":false},
29+
{"type":"list","section":"Core","hidden":false},
30+
{"type":"rebuild","section":"Core","hidden":false},
31+
{"type":"remove","section":"Core","hidden":false},
32+
{"type":"deps","section":"Core","hidden":false},
33+
{"type":"python","section":"Core","hidden":false},
34+
{"type":"lin","section":"Core","hidden":false},
35+
{"type":"linux","section":"Core","hidden":false},
36+
{"type":"mac","section":"Core","hidden":false},
37+
{"type":"macos","section":"Core","hidden":false},
38+
{"type":"win","section":"Core","hidden":false},
39+
{"type":"windows","section":"Core","hidden":false},
40+
{"type":"zos","section":"Core","hidden":false},
41+
{"type":"doc","section":"Doc","hidden":false},
42+
{"type":"docs","section":"Doc","hidden":false},
43+
{"type":"readme","section":"Doc","hidden":false},
44+
{"type":"chore","section":"Miscellaneous","hidden":false},
45+
{"type":"refactor","section":"Miscellaneous","hidden":false},
46+
{"type":"ci","section":"Miscellaneous","hidden":false},
47+
{"type":"meta","section":"Miscellaneous","hidden":false}]
48+
49+
# Standard Conventional Commits: `feat` and `fix`
50+
# node-gyp subdirectories: `bin`, `gyp`, `lib`, `src`, `test`
51+
# node-gyp subcommands: `build`, `clean`, `configure`, `install`, `list`, `rebuild`, `remove`
52+
# Core abstract category: `deps`
53+
# Languages/platforms: `python`, `lin`, `linux`, `mac`, `macos`, `win`, `window`, `zos`
54+
# Documentation: `doc`, `docs`, `readme`
55+
# Standard Conventional Commits: `chore` (under "Miscellaneous")
56+
# Miscellaneous abstract categories: `refactor`, `ci`, `meta`

0 commit comments

Comments
 (0)