build: check for ignored files being included in repo
This commit is contained in:
parent
2e5c80875e
commit
59fa127967
1 changed files with 9 additions and 0 deletions
|
@ -30,6 +30,15 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
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
|
- name: Check TODOs
|
||||||
uses: https://git.kemitix.net/kemitix/forgejo-todo-checker@v1.3.0
|
uses: https://git.kemitix.net/kemitix/forgejo-todo-checker@v1.3.0
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue