Skip to content

Commit 5efb449

Browse files
committed
fetch all history
1 parent e21e7c8 commit 5efb449

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/check-version.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# write a github actions workflow that checks that the version in the pyproject.toml file has been updated on every pull request to master
21
name: Check version update
32
on:
43
pull_request:
@@ -9,7 +8,10 @@ jobs:
98
check-version:
109
runs-on: ubuntu-latest
1110
steps:
12-
- uses: actions/checkout@v4
11+
- name: Checkout PR
12+
uses: actions/checkout@v4
13+
with:
14+
fetch-depth: 0 # Fetch all history for all branches and tags
1315
- name: Check version update
1416
run: |
1517
PR_NUMBER=${{ github.event.pull_request.number }}

0 commit comments

Comments
 (0)