From 020e8cc600a1e7e7b8b843654902f043f32387ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Burzy=C5=84ski?= Date: Tue, 2 Jun 2026 10:22:42 +0200 Subject: [PATCH] Use internal bot for versioning (#643) * Use internal bot for versioning * tweak `CODEOWNERS` --- .github/CODEOWNERS | 10 +++++----- .github/workflows/publish.yml | 8 ++++++++ 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 73b552a..3419a7f 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,5 +1,5 @@ -/.github/workflows/** @Andarist @emmatown -/action.yml @Andarist @emmatown -/scripts/bump.ts @Andarist @emmatown -/scripts/release.ts @Andarist @emmatown -/scripts/release-pr.ts @Andarist @emmatown +/.github/workflows/** @Andarist @bluwy @emmatown +/action.yml @Andarist @bluwy @emmatown +/scripts/bump.ts @Andarist @bluwy @emmatown +/scripts/release.ts @Andarist @bluwy @emmatown +/scripts/release-pr.ts @Andarist @bluwy @emmatown diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e3384c8..11c0340 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,6 +16,7 @@ jobs: version: name: Version runs-on: ubuntu-latest + environment: version timeout-minutes: 20 outputs: hasChangesets: ${{ steps.changesets.outputs.hasChangesets }} @@ -36,10 +37,17 @@ jobs: - name: Build run: pnpm build + - uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1 + id: app-token + with: + client-id: ${{ vars.APP_CLIENT_ID }} + private-key: ${{ secrets.APP_PRIVATE_KEY }} + - name: Create or update release pull request id: changesets uses: ./ with: + github-token: ${{ steps.app-token.outputs.token }} version: pnpm bump publish: