fix(commit-policy): 자동 co-author footer 변형을 차단한다
This commit is contained in:
@@ -112,6 +112,18 @@ if [ -n "$body" ] && printf '%s\n' "$body" | grep -Eq '^Refs:'; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -n "$body" ]; then
|
||||||
|
if printf '%s\n' "$body" | grep -Fq 'Ultraworked with [Sisyphus]'; then
|
||||||
|
echo "[FAIL] Sisyphus attribution footer must not be included"
|
||||||
|
exit_code=1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if printf '%s\n' "$body" | grep -Ei '^Co-authored-by:[[:space:]]*Sisyphus[[:space:]]*<clio-agent@sisyphuslabs\.ai>$' >/dev/null; then
|
||||||
|
echo "[FAIL] Automatic Sisyphus co-author footer must not be included"
|
||||||
|
exit_code=1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
if [ $exit_code -eq 0 ]; then
|
if [ $exit_code -eq 0 ]; then
|
||||||
echo "[PASS] Commit message follows AGENTS.md rules"
|
echo "[PASS] Commit message follows AGENTS.md rules"
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user