zed/script/check-todos
Marshall Bowers 3af09bbae1
ci: Remove zero-width whitespace in job name (#23238)
This PR removes some zero-width whitespace characters from one of the CI
job names.

Release Notes:

- N/A
2025-01-16 14:50:40 +00:00

11 lines
340 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
# Brackets are used around characters so these don't show up in normal search.
pattern='tod[o]!|FIXM[E]'
result=$(git grep --no-color --ignore-case --line-number --extended-regexp -e $pattern -- ':(exclude).github/workflows/ci.yml' || true)
echo "${result}"
if [[ -n "${result}" ]]; then
exit 1
fi