Skip to content

Commit

Permalink
fix: github_app.md (#384)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mroderick authored Sep 24, 2024
1 parent 8ebcabc commit 0019f41
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/docs/github_app.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Find modified migrations
run: |
modified_migrations=$(git diff --name-only origin/$GITHUB_BASE_REF...origin/$GITHUB_HEAD_REF 'migrations/*.sql')
Expand Down

0 comments on commit 0019f41

Please sign in to comment.