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

This commit is contained in:
Paul Campbell 2025-01-13 08:35:23 +00:00
parent 52f4ea5e61
commit 7de9bd7584

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