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: