Skip to content

Commit 29a631e

Browse files
committed
ci: release please uses bot
1 parent b6a9f5b commit 29a631e

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,14 @@ jobs:
1313
release-please:
1414
runs-on: ubuntu-latest
1515
steps:
16+
- name: Create GitHub App token
17+
id: app-token
18+
uses: actions/create-github-app-token@v1
19+
with:
20+
app-id: ${{ secrets.DEPLOYMENT_APP_ID }}
21+
private-key: ${{ secrets.DEPLOYMENT_APP_PRIVATE_KEY }}
22+
1623
- uses: googleapis/release-please-action@v4
1724
with:
18-
# this assumes that you have created a personal access token
19-
# (PAT) and configured it as a GitHub action secret named
20-
# `MY_RELEASE_PLEASE_TOKEN` (this secret name is not important).
21-
# token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
22-
# this is a built-in strategy in release-please, see "Action Inputs"
23-
# for more options
25+
token: ${{ steps.app-token.outputs.token }}
2426
release-type: node

0 commit comments

Comments
 (0)