From fa463b9254159d4c77675b20cd0d8a54d58e4432 Mon Sep 17 00:00:00 2001 From: Sunset <26019675+lwd-temp@users.noreply.github.com> Date: Tue, 20 Sep 2022 17:22:13 +0800 Subject: [PATCH] Get all branch --- .github/workflows/update-global.yaml | 3 ++- .github/workflows/update-jp.yaml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-global.yaml b/.github/workflows/update-global.yaml index 86ff6c5f..670c9e86 100644 --- a/.github/workflows/update-global.yaml +++ b/.github/workflows/update-global.yaml @@ -13,7 +13,8 @@ jobs: - name: Check out repository code uses: actions/checkout@v2 with: - ref: 'global' + ref: 'global' # Get the right branch + fetch-depth: '0' # Get all branch first - name: Installing requirements run: | pip install -r requirements.txt diff --git a/.github/workflows/update-jp.yaml b/.github/workflows/update-jp.yaml index 173145ab..37496c3a 100644 --- a/.github/workflows/update-jp.yaml +++ b/.github/workflows/update-jp.yaml @@ -13,7 +13,8 @@ jobs: - name: Check out repository code uses: actions/checkout@v2 with: - ref: 'jp' + ref: 'jp' # Get the right branch + fetch-depth: '0' # Get all branch first - name: Installing requirements run: | pip install -r requirements.txt