Skip to content

Commit 3a67b52

Browse files
committed
fix: do not run pre-commit hook
Signed-off-by: ZHANG Yuntian <yt@radxa.com>
1 parent 39053ab commit 3a67b52

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/libexec/rsdk/rsdk-infra-update

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env bash
22

3+
set -x
4+
35
update_repo() {
46
local TARGET="${1}"
57
local OUTPUT="$PWD/out/infra/$TARGET"
@@ -97,7 +99,7 @@ update_repo() {
9799
pushd "$OUTPUT"
98100
if [[ -n "$(git status --porcelain)" ]]; then
99101
git add .
100-
PRE_COMMIT_ALLOW_NO_CONFIG=1 git commit --author "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>" -m "chore: templates generated by RadxaOS-SDK/rsdk@$RSDK_REV"
102+
PRE_COMMIT_ALLOW_NO_CONFIG=1 git commit --no-verify --author "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>" -m "chore: templates generated by RadxaOS-SDK/rsdk@$RSDK_REV"
101103
fi
102104

103105
local description homepage="https://$RSDK_TARGET_ORGANIZATION.github.io/$TARGET/"

0 commit comments

Comments
 (0)