Skip to content

Commit

Permalink
add TODO comment check
Browse files Browse the repository at this point in the history
  • Loading branch information
ForestOfLight committed Jan 25, 2025
1 parent a51873f commit 3c06af7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Check for TODO comments
run: |
if grep -r -E "// TODO|/// TODO|/\*\* TODO \*/" .; then
echo "TODO comments found. Please resolve them before committing."
exit 1
fi
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
Expand Down

0 comments on commit 3c06af7

Please sign in to comment.