Skip to content

Commit 04352b0

Browse files
author
René Stalder
committed
ci: add release-please github action
Add GitHub action to automatically tag, create version file, update changelog and create GitHub releases via release-please.
1 parent 0750f05 commit 04352b0

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Create tag, version file, changelog and GitHub release based
2+
# conventional commits, via release-please
3+
# More information: https://github.com/google-github-actions/release-please-action
4+
5+
on:
6+
push:
7+
branches:
8+
- master
9+
10+
permissions:
11+
contents: write
12+
pull-requests: write
13+
14+
name: release-please
15+
16+
jobs:
17+
release-please:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: google-github-actions/release-please-action@v4
21+
with:
22+
# TODO: Personal access token with whatwedo account
23+
# TODO: You may also need to set "Allow GitHub Actions to create and approve pull requests" under repository Settings > Actions > General.
24+
token: ${{ secrets.RELEASE_TOKEN }}
25+
release-type: simple

0 commit comments

Comments
 (0)