Skip to content

Commit 925638c

Browse files
authored
Add fetch-depth: 0 to checkout for git header feature in theme (#251)
1 parent 478aa4d commit 925638c

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

.github/workflows/cache.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
- uses: actions/checkout@v6
1212
with:
1313
ref: ${{ github.event.pull_request.head.sha }}
14+
fetch-depth: 0
1415
- name: Setup Anaconda
1516
uses: conda-incubator/setup-miniconda@v3
1617
with:

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ jobs:
77
- uses: actions/checkout@v6
88
with:
99
ref: ${{ github.event.pull_request.head.sha }}
10+
fetch-depth: 0
1011
- name: Setup Anaconda
1112
uses: conda-incubator/setup-miniconda@v3
1213
with:

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ jobs:
1010
steps:
1111
- name: Checkout
1212
uses: actions/checkout@v6
13+
with:
14+
fetch-depth: 0
1315
- name: Setup Anaconda
1416
uses: conda-incubator/setup-miniconda@v3
1517
with:

0 commit comments

Comments
 (0)