diff options
author | Robert Adam <dev@robert-adam.de> | 2021-04-18 21:32:51 +0300 |
---|---|---|
committer | Robert Adam <dev@robert-adam.de> | 2021-04-18 21:32:51 +0300 |
commit | 0f45328cd1477080cc261a6795a69df07f6f645d (patch) | |
tree | 8f28be7de591daea93316b1518af851e4c4018f7 | |
parent | a1bdff18a332f05217274ab12789f2ccb4f75a20 (diff) |
CI: Include submodules in checks CI
-rwxr-xr-x | .github/workflows/check_commit_style.py | 2 | ||||
-rw-r--r-- | .github/workflows/pr-checks.yml | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/check_commit_style.py b/.github/workflows/check_commit_style.py index c19713488..e0805d298 100755 --- a/.github/workflows/check_commit_style.py +++ b/.github/workflows/check_commit_style.py @@ -25,7 +25,7 @@ def main(): cmd(["git", "remote", "add", remoteName, "https://github.com/mumble-voip/mumble.git"]) # Fetch remote - cmd(["git", "fetch", remoteName]) + cmd(["git", "fetch", "--no-recurse-submodules", remoteName]) # get new commits commitHashes = [x for x in cmd(["git", "rev-list", "{}/master..HEAD".format(remoteName)]).split("\n") if x] diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 85dc39060..65c715f88 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -17,7 +17,7 @@ jobs: # Assume that there are not >200 new commits that need checking fetch-depth: 200 # Don't checkout submodules - submodules: 'false' + submodules: 'recursive' # Don't create a merge commit ref: ${{ github.event.pull_request.head.sha }} @@ -27,3 +27,5 @@ jobs: - name: Check line endings uses: erclu/check-crlf@v1 + with: + exclude: '3rdparty/' |