From 6d273813d01e545641c16b4f321b75b17f50bfda Mon Sep 17 00:00:00 2001 From: Takashi Masuda Date: Fri, 5 Jul 2024 23:10:06 +0900 Subject: [PATCH] Fix missing CI trigger of Release PR --- .github/workflows/release.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1d4ed3e..08b781e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,15 +21,17 @@ jobs: if: ${{ github.event.workflow_run.conclusion == 'success' }} runs-on: ubuntu-latest timeout-minutes: 5 - permissions: - contents: write - pull-requests: write steps: - uses: actions/checkout@v4 + - uses: actions/create-github-app-token@v1 + id: app-token + with: + app-id: ${{ vars.CI_APP_ID }} + private-key: ${{ secrets.CI_APP_PRIVATE_KEY }} - id: run-tagpr uses: Songmu/tagpr@0a9b8e6634db66e773516828c1359dc6e9e8b484 # v1.3.0 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} outputs: tagpr-tag: ${{ steps.run-tagpr.outputs.tag }} release: