Skip to content

Commit

Permalink
Remove fetch-depth:0 from github actions.
Browse files Browse the repository at this point in the history
Turns out this removes the limit and causes it to pull the entire repo.

Did I ever mention that I hate the convention that zero equals infinity?
  • Loading branch information
prdoyle committed Jun 23, 2024
1 parent 9afb1bf commit 1934f6d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ jobs:

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

- uses: actions/setup-java@v4
with:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ jobs:

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

- uses: actions/setup-java@v4
with:
Expand Down

0 comments on commit 1934f6d

Please sign in to comment.