Skip to content

Commit

Permalink
fix: missing fetch depth to checkout
Browse files Browse the repository at this point in the history
Signed-off-by: Kin Long Kelvin Lee <[email protected]>
  • Loading branch information
laserkelvin committed Mar 12, 2024
1 parent 715aecb commit d7fedcd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/pre-commit-action.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Snippets for how to only run on changed PR files can be found
# here: https://github.com/pre-commit/action/issues/7#issuecomment-1251300704
name: Run pre-commit workflow
on:
pull_request:
Expand All @@ -8,6 +10,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v5
name: Install Python 3.10
with:
Expand Down

0 comments on commit d7fedcd

Please sign in to comment.