From 38bf236e2213b46fa641e72025f7005bc71142d0 Mon Sep 17 00:00:00 2001 From: Hugo van Rijswijk Date: Tue, 16 Jan 2024 15:31:43 +0100 Subject: [PATCH] update token generation --- .github/workflows/release-please.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 1b32b4b..2f29a16 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -13,9 +13,15 @@ jobs: release-please: runs-on: ubuntu-latest steps: + - name: Generate token + id: generate-token + uses: tibdex/github-app-token@v2 + with: + app_id: ${{ vars.STEWARD_APP_ID }} + private_key: ${{ secrets.STEWARD_PRIVATE_KEY }} - uses: google-github-actions/release-please-action@v4 with: # Version is determined by sbt-ci-release (which uses sbt-dynver) # Actual release code is in `./scala.yml` release-type: simple - token: ${{ secrets.RELEASE_PLEASE_TOKEN }} + token: ${{ steps.generate-token.outputs.token }}