From 022d14c149f4864a16c7922c870c3e304e9f46de Mon Sep 17 00:00:00 2001 From: Darren Temple Date: Tue, 15 Apr 2025 16:12:08 +0100 Subject: [PATCH] chore: Replace personal access token with GitHub App Token --- .github/workflows/release.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 123e0b5..2a462f6 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -9,10 +9,17 @@ jobs: runs-on: ubuntu-latest steps: + - name: Generate GitHub App Token + uses: actions/create-github-app-token@v1 + id: generate-token + with: + app-id: ${{ secrets.GH_APP_ID }} + private-key: ${{ secrets.GH_APP_PRIVATE_KEY }} + - name: Checkout uses: actions/checkout@v4 with: - token: ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }} + token: ${{ steps.generate-token.outputs.token }} - name: Identify run: |