Skip to content

Commit 5660567

Browse files
authored
ci: use bot PAT for release (#79)
## Summary - remove the GitHub App token creation step from the release workflow - pass `secrets.ROLLDOWN_BOT_PAT` directly to `release-plz` ## Why The release workflow failed on `main` because `actions/create-github-app-token` could not find an installation for `rolldown/notify`: `Not Found - https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app` ## Verification - `ruby -e 'require "yaml"; YAML.load_file(".github/workflows/release.yml"); puts "ok"'`
1 parent 6e99fe2 commit 5660567

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@ jobs:
1616
contents: write
1717
id-token: write
1818
steps:
19-
- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1
20-
id: app-token
21-
with:
22-
client-id: ${{ secrets.APP_ID }}
23-
private-key: ${{ secrets.APP_PRIVATE_KEY }}
24-
2519
- uses: oxc-project/release-plz@e2b12f55ad64a22af8e93634b94439c42913afca # v1.0.6
2620
with:
27-
PAT: ${{ steps.app-token.outputs.token }}
21+
PAT: ${{ secrets.ROLLDOWN_BOT_PAT }}

0 commit comments

Comments
 (0)