Skip to content

Commit ab8eafd

Browse files
authored
Revert "[chore] do not fetch the whole repository when running CI" (#39554)
This appears to be causing CI failures. See comments on #38756
1 parent 98a6954 commit ab8eafd

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/changelog.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
steps:
3333
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
3434
with:
35-
fetch-depth: ${{ github.event_name == 'pull_request' && github.event.pull_request.commits || 1 }}
35+
fetch-depth: 0
3636
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5
3737
with:
3838
go-version: "1.23.8"

.github/workflows/check-links.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
steps:
2424
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2525
with:
26-
fetch-depth: ${{ github.event_name == 'pull_request' && github.event.pull_request.commits || 1 }}
26+
fetch-depth: 0
2727
- name: Get changed files
2828
id: changes
2929
run: |
@@ -42,7 +42,7 @@ jobs:
4242
steps:
4343
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
4444
with:
45-
fetch-depth: 1
45+
fetch-depth: 0
4646

4747
- name: Link Checker
4848
id: lychee

.github/workflows/e2e-tests-windows.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Checkout
2727
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2828
with:
29-
fetch-depth: ${{ github.event_name == 'pull_request' && github.event.pull_request.commits || 1 }}
29+
fetch-depth: 0
3030
- name: Did windows files changed
3131
run: echo "changed=$(./.github/workflows/scripts/is_changed_file_windows.sh )" >> "$GITHUB_OUTPUT"
3232
- run: echo $(./.github/workflows/scripts/is_changed_file_windows.sh ${{ github.event.pull_request.base.sha }} ${{ github.sha }} )

.github/workflows/scoped-test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2222
with:
23-
fetch-depth: ${{ github.event_name == 'pull_request' && github.event.pull_request.commits || 1 }}
23+
fetch-depth: 0
2424

2525
- name: Get changes
2626
shell: bash

0 commit comments

Comments
 (0)