From ff742054ac9c98cebb55720b883934064aaad5ff Mon Sep 17 00:00:00 2001 From: gentlementlegen Date: Wed, 18 Dec 2024 16:13:56 +0900 Subject: [PATCH] chore: new token workflow for worker-deploy.yml --- .github/workflows/worker-deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/worker-deploy.yml b/.github/workflows/worker-deploy.yml index 1ab61e1..44f50cb 100644 --- a/.github/workflows/worker-deploy.yml +++ b/.github/workflows/worker-deploy.yml @@ -76,7 +76,7 @@ jobs: console.log('Updated manifest:', updatedManifest); - name: Get GitHub App token - #if: env.APP_ID != '' && env.APP_PRIVATE_KEY != '' + if: env.APP_ID != '' && env.APP_PRIVATE_KEY != '' uses: actions/create-github-app-token@v1 id: app-token with: @@ -92,7 +92,7 @@ jobs: - run: | git config --global user.name '${{ steps.app-token.outputs.app-slug }}[bot]' git config --global user.email '${{ steps.get-user-id.outputs.user-id }}+${{ steps.app-token.outputs.app-slug }}[bot]@users.noreply.github.com>' - #if: steps.app-token.outputs.app-slug != '' && steps.get-user-id.outputs.user-id != '' + if: steps.app-token.outputs.app-slug != '' && steps.get-user-id.outputs.user-id != '' - name: Format manifest.json using Prettier shell: bash