From a92f111286ed3e4066c61dcbc983774d83dc0a56 Mon Sep 17 00:00:00 2001 From: yagamuu Date: Tue, 13 Feb 2024 00:06:17 +0900 Subject: [PATCH] fix workflows --- .github/workflows/build.yaml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 419c9af..23dc962 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -22,15 +22,13 @@ jobs: runs-on: ubuntu-latest steps: - # リポジトリからbaseブランチとビルド用ブランチをチェックアウト - - name: Checkout this repository base branch + # リポジトリから全データをチェックアウト + - name: Checkout this repository uses: actions/checkout@v3 with: + token: ${{ secrets['GITHUB_TOKEN'] }} ref: ${{ inputs.base_branch || 'master' }} - - name: Checkout this repository build branch - uses: actions/checkout@v3 - with: - ref: ${{ inputs.build_branch || 'build' }} + fetch-depth: 0 # Git configをGitHub ActionsのBotアカウントに設定 - name: Set local git config user details