Skip to content

Commit fcc3ce1

Browse files
authored
ci: replace OXC_BOT_PAT with GitHub App tokens (#85)
1 parent 931f7c7 commit fcc3ce1

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/release.yml

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

0 commit comments

Comments
 (0)