From 70b3a0bf2e81771964c29f8dac88678bfe3de832 Mon Sep 17 00:00:00 2001 From: DouPache Date: Sun, 26 Nov 2023 00:34:40 +0800 Subject: [PATCH] [YUNIKORN-2098] fetch all branch --- .github/workflows/pre-commit.yml | 4 ++++ .github/workflows/push-master.yml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 3545ca62a..10a9d03d8 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -14,6 +14,8 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 + - name: Fetch all branches and tags + run: git fetch --all - name: Set up Go uses: actions/setup-go@v3 with: @@ -46,6 +48,8 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 + - name: Fetch all branches and tags + run: git fetch --all - name: Set up Go uses: actions/setup-go@v3 with: diff --git a/.github/workflows/push-master.yml b/.github/workflows/push-master.yml index 84037663e..89a9b7d46 100644 --- a/.github/workflows/push-master.yml +++ b/.github/workflows/push-master.yml @@ -13,6 +13,8 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 + - name: Fetch all branches and tags + run: git fetch --all - name: Set up Go uses: actions/setup-go@v3 with: