From 0876c59a370a965dd90c2b53708b5f0c5e336cd2 Mon Sep 17 00:00:00 2001 From: hlts2 Date: Tue, 9 Apr 2024 14:49:52 +0900 Subject: [PATCH] fix: set token Signed-off-by: hlts2 --- .github/workflows/_build.yaml | 1 + .github/workflows/_prepare-release.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/_build.yaml b/.github/workflows/_build.yaml index 99059708..09f2fc27 100644 --- a/.github/workflows/_build.yaml +++ b/.github/workflows/_build.yaml @@ -30,6 +30,7 @@ jobs: with: fetch-depth: 0 ref: ${{ inputs.client_checkout_target_name }} + token: ${{ env.GITHUB_TOKEN }} - name: Set Git config run: | git config --global --add safe.directory ${GITHUB_WORKSPACE} diff --git a/.github/workflows/_prepare-release.yaml b/.github/workflows/_prepare-release.yaml index 81baa236..00b7b273 100644 --- a/.github/workflows/_prepare-release.yaml +++ b/.github/workflows/_prepare-release.yaml @@ -50,6 +50,7 @@ jobs: with: fetch-depth: 0 ref: main # NOTE + token: ${{ env.GITHUB_TOKEN }} - name: Set Git config run: | git config --global --add safe.directory ${GITHUB_WORKSPACE}