Skip to content

Commit

Permalink
chore: add Github action for release-please
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael0202 committed Dec 18, 2023
1 parent 27e8294 commit 358a683
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Run release-please
on:
push:
branches:
- master

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: GoogleCloudPlatform/[email protected]
with:
# We can't use GITHUB_TOKEN here because, github actions can't provocate actions
# see: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow
# So this is a personnal access token
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
release-type: simple
changelog-types: |
[
{"type":"feat","section":"Features","hidden":false},
{"type":"fix","section":"Bug Fixes","hidden":false},
{"type":"style","section":"Technical","hidden":false},
{"type":"docs","section":"Technical","hidden":false},
{"type":"test","section":"Technical","hidden":false},
{"type":"chore","section":"Technical","hidden":false},
{"type":"refactor","section":"Technical","hidden":false}
]

0 comments on commit 358a683

Please sign in to comment.