Skip to content

Commit

Permalink
Adjust fetch depth
Browse files Browse the repository at this point in the history
v4 of the checkout action changes the way branches are handled. Including this arg ensures that the scrapy validate step doesn't fail when it attempts to. checkout the "main" branch. Without this arg, the workflow can't find the "main" branch.
  • Loading branch information
SimmonsRitchie committed Apr 3, 2024
1 parent c6ace2d commit 8d1dfe9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
Expand Down

0 comments on commit 8d1dfe9

Please sign in to comment.