Skip to content

Commit

Permalink
ci(gha): fix submodule check
Browse files Browse the repository at this point in the history
Ensures we fetch git history and submodules.

Signed-off-by: Tiago Castro <[email protected]>
  • Loading branch information
tiagolobocastro committed Dec 8, 2023
1 parent b2a0aeb commit 7af9538
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pr-submodule-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
- name: Check root submodules branch
run: |
pr_branch="${{ github.event.pull_request.base.ref }}"
Expand Down

0 comments on commit 7af9538

Please sign in to comment.