Repository navigation
ci: use a bee-runner App token for release-please (#531) #240
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # On each new commit to master, create/update a PR with release | |
| # automatically bumps version and creates changelog as per conventional commits | |
| name: Release Github | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| release-please: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Generate App token | |
| id: app-token | |
| uses: actions/create-github-app-token@v1 | |
| with: | |
| app-id: ${{ secrets.BEE_RUNNER_APP_ID }} | |
| private-key: ${{ secrets.BEE_RUNNER_KEY }} | |
| owner: ${{ github.repository_owner }} | |
| repositories: gateway-proxy | |
| # contents: commits, branches, tags and the GitHub release | |
| # pull-requests: the release PR | |
| # issues: the "autorelease: pending"/"autorelease: tagged" labels | |
| permission-contents: write | |
| permission-pull-requests: write | |
| permission-issues: write | |
| - uses: GoogleCloudPlatform/release-please-action@v2 | |
| id: release | |
| with: | |
| token: ${{ steps.app-token.outputs.token }} | |
| release-type: node | |
| package-name: gateway-proxy | |
| bump-minor-pre-major: true |