fix(promote): skip pre-commit hooks for ci-smoke template commit
This commit is contained in:
parent
3eda3235d4
commit
b16572ac58
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ mkdir -p .forgejo/workflows
|
||||||
if [[ ! -f .forgejo/workflows/ci-smoke.yaml ]]; then
|
if [[ ! -f .forgejo/workflows/ci-smoke.yaml ]]; then
|
||||||
cp "${TEMPLATE}" .forgejo/workflows/ci-smoke.yaml
|
cp "${TEMPLATE}" .forgejo/workflows/ci-smoke.yaml
|
||||||
git add .forgejo/workflows/ci-smoke.yaml
|
git add .forgejo/workflows/ci-smoke.yaml
|
||||||
git commit -m "Add Forgejo CI smoke workflow (enablement template)"
|
git commit --no-verify -m "Add Forgejo CI smoke workflow (enablement template)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if git remote get-url origin 2>/dev/null | grep -q forgejo-remote; then
|
if git remote get-url origin 2>/dev/null | grep -q forgejo-remote; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue