From fc8ea66bde8256dd7aa96aec290b14e7befeff22 Mon Sep 17 00:00:00 2001 From: gkoos Date: Mon, 20 Jul 2026 21:47:28 +0100 Subject: [PATCH] ci: use GitHub App token for changesets version workflow --- .github/workflows/version.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/version.yml b/.github/workflows/version.yml index 0aae065..09a95cc 100644 --- a/.github/workflows/version.yml +++ b/.github/workflows/version.yml @@ -20,6 +20,14 @@ jobs: - name: Checkout uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 + - name: Generate app token + id: app-token + uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1 + with: + app-id: ${{ vars.AUTOMATION_APP_ID }} + private-key: ${{ secrets.AUTOMATION_APP_KEY }} + owner: ${{ github.repository_owner }} + - name: Setup Node.js uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6 with: @@ -42,4 +50,4 @@ jobs: commit: 'chore(release): version packages' title: 'chore(release): version packages' env: - GITHUB_TOKEN: ${{ secrets.CHANGESETS_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} \ No newline at end of file