Skip to content

Commit

Permalink
Use actions/checkout feature to fetch all commits
Browse files Browse the repository at this point in the history
Setting the "fetch-depth" to a positive value fetches that many
commits back (and the default value is 1), but setting it to 0
fetches all commits, as in a (deep) normal fetch.
  • Loading branch information
EliahKagan committed Sep 11, 2023
1 parent 295a55b commit 919d3cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1000
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
Expand Down

0 comments on commit 919d3cc

Please sign in to comment.