From 541953f54851fc75ae5bff00ac14b1f5e02a392a Mon Sep 17 00:00:00 2001 From: Drew Powers Date: Fri, 25 Oct 2024 10:40:33 -0600 Subject: [PATCH] Add bot token --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5592fe6b2..8170e293a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,6 +8,7 @@ on: jobs: changelog: runs-on: ubuntu-latest + if: ${{ github.repository_owner == 'openapi-ts' }} permissions: contents: write pull-requests: write @@ -28,5 +29,5 @@ jobs: commit: "[ci] release" title: "[ci] release" env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.OPENAPI_TS_BOT_GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}