Skip to content

chore(ci): Replace GH_CQ_BOT PAT with GitHub App tokens (#378) #367

chore(ci): Replace GH_CQ_BOT PAT with GitHub App tokens (#378)

chore(ci): Replace GH_CQ_BOT PAT with GitHub App tokens (#378) #367

Workflow file for this run

name: release-please
on:
push:
branches:
- main
permissions:
contents: read
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- name: Generate GitHub App token
id: app-token
uses: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3
with:
app-id: ${{ secrets.CQ_APP_ID }}
private-key: ${{ secrets.CQ_APP_PRIVATE_KEY }}
permission-contents: write
permission-pull-requests: write
- uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38 # v4
id: release
with:
token: ${{ steps.app-token.outputs.token }}