diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 328a9824..7ce86a33 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -1,13 +1,26 @@ name: Run release-please on: - push: - branches: - - main + push: + branches: + - main jobs: - release-please: - runs-on: ubuntu-latest - steps: - - uses: GoogleCloudPlatform/release-please-action@v3.7.13 - with: - token: ${{ secrets.GITHUB_TOKEN }} - release-type: simple + release-please: + runs-on: ubuntu-latest + steps: + - uses: GoogleCloudPlatform/release-please-action@v3.7.13 + 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} + ]