Skip to content

Commit 3e21779

Browse files
committed
Adjust "actions/checkout@v2" params to unshallow so that we can properly detect which files changed in the PR
1 parent ca134b5 commit 3e21779

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/test-pr.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v2
17+
with:
18+
fetch-depth: 0
1719
- name: Check for Common Issues
1820
run: |
1921
git clone --depth 1 https://github.com/docker-library/bashbrew.git -b master ~/bashbrew
@@ -29,6 +31,8 @@ jobs:
2931
strategy: ${{ steps.generate-jobs.outputs.strategy }}
3032
steps:
3133
- uses: actions/checkout@v2
34+
with:
35+
fetch-depth: 0
3236
- id: generate-jobs
3337
name: Generate Jobs
3438
run: |

0 commit comments

Comments
 (0)