Commits, changelog bullets, and comments this diff opened had no length gate, so the next cut could ship another design review. Fail the PR at the caps in docs/writing.md.
10 lines
317 B
Bash
Executable File
10 lines
317 B
Bash
Executable File
#!/bin/sh
|
|
# House-style length gates. See scripts/ci/check-writing.py and docs/writing.md.
|
|
set -u
|
|
cd "$(dirname "$0")/../.." || exit 2
|
|
if ! command -v python3 >/dev/null 2>&1; then
|
|
echo "::error::python3 is required for scripts/ci/check-writing.sh" >&2
|
|
exit 2
|
|
fi
|
|
exec python3 scripts/ci/check-writing.py "$@"
|