Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Adam <dev@robert-adam.de>2021-04-18 21:32:51 +0300
committerRobert Adam <dev@robert-adam.de>2021-04-18 21:32:51 +0300
commit0f45328cd1477080cc261a6795a69df07f6f645d (patch)
tree8f28be7de591daea93316b1518af851e4c4018f7
parenta1bdff18a332f05217274ab12789f2ccb4f75a20 (diff)
CI: Include submodules in checks CI
-rwxr-xr-x.github/workflows/check_commit_style.py2
-rw-r--r--.github/workflows/pr-checks.yml4
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/'