File tree Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 1+ name : Forbid TODO
2+
3+ on :
4+ pull_request :
5+ types : [opened, synchronize, reopened]
6+ merge_group :
7+ branches : [main]
8+
9+ jobs :
10+ forbid-todo :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v4
14+ - name : Forbid TODO
15+ run : ./scripts/forbid-todo.sh
Original file line number Diff line number Diff line change 7272 name : dumps
7373 path : ${{ env.VSCODE_CRASH_DIR }}
7474 if : failure()
75- - name : Forbid TODOs
76- run : ./scripts/forbid-todo.sh
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ set -euo pipefail
44
55# Find the string 'TODO' in all files tracked by git, excluding
66# this file
7- TODOS_FOUND=$( git grep --color=always -nw TODO -- ' :!scripts/forbid-todo.sh' || true)
7+ TODOS_FOUND=$( git grep --color=always -nw TODO -- ' :!scripts/forbid-todo.sh' ' :!.github/workflows/forbid-todo.yml ' || true)
88
99if [ -n " $TODOS_FOUND " ]; then
1010 printf " \e[1;31mERROR: \e[0mTODOs found in codebase:\n"
You can’t perform that action at this time.
0 commit comments