From b545b2f5a996988407583d4643a154356a4e4f30 Mon Sep 17 00:00:00 2001 From: Haruka <33943897+hulk510@users.noreply.github.com> Date: Fri, 19 Jan 2024 01:51:27 +0900 Subject: [PATCH] ci: create token for release please action (#14) --- .github/workflows/release-please.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index e7ffbe3..1462c97 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -15,9 +15,16 @@ jobs: release_created: ${{ steps.release-please.outputs.release_created }} tag_name: ${{ steps.release-please.outputs.tag_name }} steps: + - name: Generate a token + id: generate_token + uses: actions/create-github-app-token@v1 + with: + app-id: ${{ secrets.MAZI_RELEASE_APP_ID }} + private-key: ${{ secrets.MAZI_RELEASE_APP_PRIVATE_KEY }} - uses: google-github-actions/release-please-action@cc61a07e2da466bebbc19b3a7dd01d6aecb20d1e # v4.0.2 id: release-please with: + token: ${{ steps.generate_token.outputs.token }} config-file: .github/files/release-please/release-please-config.json manifest-file: .github/files/release-please/.release-please-manifest.json skip-github-pull-request: