build: check for ignored files being included in repo
All checks were successful
Test / build (map[name:nightly]) (push) Successful in 3m19s
Test / build (map[name:stable]) (push) Successful in 3m52s
Release Please / Release-plz (push) Successful in 9s

This commit is contained in:
Paul Campbell 2025-01-13 08:33:32 +00:00
parent 2e5c80875e
commit 59fa127967

View file

@ -30,6 +30,15 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Ignored Files
run: |
IGNORED=$(git ls-files --cached -i --exclude-standard)
if [ -n "$IGNORED" ]
then
echo "Ignored files present:\n$IGNORED"
exit 1
fi
- name: Check TODOs
uses: https://git.kemitix.net/kemitix/forgejo-todo-checker@v1.3.0