build: check for ignored files being included in repo
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 5m48s
Test / build (map[name:stable]) (push) Successful in 5m36s
Release Please / Docker image (push) Failing after 6s
Release Please / Release-plz (push) Successful in 42s

This commit is contained in:
Paul Campbell 2025-01-13 08:37:42 +00:00
parent f40b50e128
commit 6dc600027d

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