Skip to content

Move config-checking code out of invoker #438

Move config-checking code out of invoker

Move config-checking code out of invoker #438

name: Check TODO comments
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
check-todo:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Check for TODO comments
run: |
MATCHES=$(grep -r -n --exclude-dir=.git --exclude-dir=.github "# TODO" . || true)
if [ ! -z "$MATCHES" ]; then
echo "Found TODO comments:"
echo "$MATCHES"
exit 1
fi