feat: pull submodule history for pull request events (#1003)

This commit is contained in:
Tonye Jack
2023-02-28 12:47:37 -07:00
committed by GitHub
parent 6f22f2f9ba
commit 04124efe75
3 changed files with 13 additions and 3 deletions

View File

@@ -342,12 +342,15 @@ jobs:
max-parallel: 4
matrix:
platform: [ubuntu-latest]
fetch-depth: [0, 1]
steps:
- name: Checkout to branch
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }}
submodules: recursive
fetch-depth: ${{ matrix.fetch-depth }}
- name: Run changed-files with submodule
id: changed-files