Skip to content

Commit 0019f41

Browse files
authored
fix: github_app.md (#384)
Fix mistake added in #381, where updating to `actions/checkout` past `v1` would mean the example stops working. This is due to change in the checkout functionality in `actions/checkout` introduced in v2 (beta). See https://github.com/actions/checkout/blob/main/CHANGELOG.md#v2-beta
1 parent 8ebcabc commit 0019f41

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/docs/github_app.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131
runs-on: ubuntu-latest
3232
steps:
3333
- uses: actions/checkout@v4
34+
with:
35+
fetch-depth: 0
3436
- name: Find modified migrations
3537
run: |
3638
modified_migrations=$(git diff --name-only origin/$GITHUB_BASE_REF...origin/$GITHUB_HEAD_REF 'migrations/*.sql')

0 commit comments

Comments
 (0)