Skip to content

Commit

Permalink
build(release-please): replace to github app (#265)
Browse files Browse the repository at this point in the history
* build(release-please): replace to github app

* fix(release-please): fix secret name
  • Loading branch information
ykzts authored Dec 2, 2023
1 parent 7a59900 commit 3923284
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,18 @@ jobs:
release-please:
runs-on: ubuntu-latest
steps:
- id: generate_token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.RENOVATE_BOT_APP_ID }}
private-key: ${{ secrets.RENOVATE_BOT_PRIVATE_KEY }}
- uses: google-github-actions/release-please-action@v3
id: release
with:
token: ${{ secrets.ACTIONS_BOT_TOKEN }}
token: ${{ steps.generate_token.outputs.token }}
package-name: prettier-config
release-type: node
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v3
with:
Expand Down

0 comments on commit 3923284

Please sign in to comment.