Skip to content

ci: replace OXC_BOT_PAT with GitHub App tokens (#85) #98

ci: replace OXC_BOT_PAT with GitHub App tokens (#85)

ci: replace OXC_BOT_PAT with GitHub App tokens (#85) #98

Workflow file for this run

name: Release
permissions: {}
on:
push:
branches:
- main
jobs:
release-plz:
name: Release-plz
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
id-token: write
steps:
- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3
id: app-token
with:
client-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
- uses: oxc-project/release-plz@e2b12f55ad64a22af8e93634b94439c42913afca # v1.0.6
with:
PAT: ${{ steps.app-token.outputs.token }}