From ae486e347fba64ae2d7d49850651803e013a374b Mon Sep 17 00:00:00 2001 From: Alex Zenla Date: Wed, 3 Apr 2024 23:59:07 -0700 Subject: [PATCH] fix: release pr trigger problem (#21) --- .github/workflows/release-plz.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-plz.yml b/.github/workflows/release-plz.yml index 6b85bac..5ce491a 100644 --- a/.github/workflows/release-plz.yml +++ b/.github/workflows/release-plz.yml @@ -18,6 +18,11 @@ jobs: name: release-plz runs-on: ubuntu-latest steps: + - uses: actions/create-github-app-token@v1 + id: generate-token + with: + app-id: "${{ secrets.EDERA_CULTIVATION_APP_ID }}" + private-key: "${{ secrets.EDERA_CULTIVATION_APP_PRIVATE_KEY }}" - uses: actions/checkout@v4 with: submodules: recursive @@ -27,5 +32,5 @@ jobs: - name: release-plz uses: MarcoIeni/release-plz-action@v0.5 env: - GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + GITHUB_TOKEN: "${{ steps.generate-token.outputs.token }}" CARGO_REGISTRY_TOKEN: "${{ secrets.KRATA_RELEASE_CARGO_TOKEN }}"