Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 100
- run: yarn install --frozen-lockfile
Expand All @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
needs: unit-tests
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 100

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ My recommendation is to put this action in a workflow that runs on every push to

### Important info:

Notice that **you must configure `fetch-depth` in your `actions/checkout@v2`**. That's because their default option now is to fetch only the latest commit instead of all history ([more info](https://github.com/actions/checkout))
Notice that **you must configure `fetch-depth` in your `actions/checkout@v4`**. That's because their default option now is to fetch only the latest commit instead of all history ([more info](https://github.com/actions/checkout))

If you want to fetch all history, pass `fetch-depth: 0`.

Expand All @@ -44,7 +44,7 @@ jobs:
runs-on: ubuntu-latest

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

Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
runs-on: ubuntu-latest

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

Expand All @@ -99,12 +99,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 100
path: main

- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 100
repsitory: my-org/my-tools
Expand Down