Skip to content

Commit 55fbab8

Browse files
committed
2 parents ef6c2b0 + ee4c7a2 commit 55fbab8

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.github/workflows/update_submodules.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,7 @@ jobs:
8585
branch=$(git config --get --file .gitmodules submodule.${path}.branch)
8686
echo -e "\nswitching submodule ${path} to ${branch}"
8787
cd "${path}" || exit
88-
git fetch --all
89-
git switch ${branch}
88+
git checkout ${branch}
9089
cd "${start_dir}"
9190
done
9291
git submodule update --remote --merge

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ repos:
2828
additional_dependencies: [miss_hit]
2929

3030
- repo: https://github.com/pre-commit/pre-commit-hooks
31-
rev: v4.0.1
31+
rev: v4.2.0
3232
hooks:
3333
- id: trailing-whitespace
3434
- id: end-of-file-fixer

0 commit comments

Comments
 (0)