Skip to content

Commit

Permalink
chore: fix release-please action to use bot token
Browse files Browse the repository at this point in the history
  • Loading branch information
markphelps committed Aug 14, 2023
1 parent b88286d commit e55b79a
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,20 @@ on:
branches:
- main

permissions:
contents: write
pull-requests: write

name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- name: Generate token
id: generate_token
uses: tibdex/github-app-token@v1
with:
app_id: ${{ secrets.FLIPT_RELEASE_BOT_APP_ID }}
private_key: ${{ secrets.FLIPT_RELEASE_BOT_APP_PEM }}
installation_id: ${{ secrets.FLIPT_RELEASE_BOT_INSTALLATION_ID }}

- uses: google-github-actions/release-please-action@v3
with:
token: ${{ steps.generate_token.outputs.token}}
command: manifest

0 comments on commit e55b79a

Please sign in to comment.