Skip to content

feat: use app token to generate relases from release-please (#75) #6

feat: use app token to generate relases from release-please (#75)

feat: use app token to generate relases from release-please (#75) #6

on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: tibdex/github-app-token@c2055a00597a80f713b78b1650e8d3418f4d9a65
id: get_installation_token
with:
app_id: ${{ secrets.RELEASE_PLEASE_APP_ID }}
installation_id: ${{ secrets.RELEASE_PLEASE_APP_INSTALLATION_ID }}
private_key: ${{ secrets.RELEASE_PLEASE_APP_PRIVATE_KEY }}
- uses: google-github-actions/release-please-action@v3
with:
release-type: go
token: ${{ steps.get_installation_token.outputs.token }}
bump-minor-pre-major: true
package-name: release-please-action