From d3e53223e3a92ed87c6d3bb7f0bee1f16064d0be Mon Sep 17 00:00:00 2001 From: Matthew Elwell Date: Fri, 5 Jun 2026 09:54:31 +0100 Subject: [PATCH] Use GH app authentication for release please workflow --- .github/workflows/platform-release-please.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/platform-release-please.yml b/.github/workflows/platform-release-please.yml index 86291a7492ae..7964e95eaf34 100644 --- a/.github/workflows/platform-release-please.yml +++ b/.github/workflows/platform-release-please.yml @@ -14,10 +14,17 @@ jobs: runs-on: depot-ubuntu-latest steps: + - uses: actions/create-github-app-token@v1 + id: app-token + with: + app-id: ${{ vars.FLAGSMITH_ENGINEERING_GH_APP_ID }} + private-key: ${{ secrets.FLAGSMITH_ENGINEERING_GH_APP_PRIVATE_KEY }} + - uses: googleapis/release-please-action@v4 id: release with: - token: ${{secrets.RELEASE_PLEASE_GITHUB_TOKEN}} + token: ${{ steps.app-token.outputs.token }} + outputs: release_created: ${{ steps.release.outputs.release_created }} release_tag_name: ${{ steps.release.outputs.tag_name }}