Skip to content

Commit

Permalink
ci(github-precommit): Check repository with submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
tomassebestik committed Oct 2, 2023
1 parent 4501bed commit d1ea3f9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/pre_commit_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,15 @@ permissions:
jobs:
pre_commit_check:
runs-on: ubuntu-latest
env:
SKIP: "cleanup-ignore-lists"
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: 'recursive' # Check out git submodules
- name: Sync and Update Submodules
run: |
git submodule sync --recursive
git submodule update --init --recursive
- name: Fetch head and base refs
# This is necessary for pre-commit to check the changes in the PR branch
run: |
Expand Down

0 comments on commit d1ea3f9

Please sign in to comment.