Skip to content

WIP - DRAFT Move to collection ceph.automation usage #612

WIP - DRAFT Move to collection ceph.automation usage

WIP - DRAFT Move to collection ceph.automation usage #612

name: check-trailing-whitespaces
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: |
ret=0
for file in $(find ./ -type f -not -path "./.git*")
do
grep -nH -E ' +$' $file && ret=1
done
test $ret -eq 1 && echo 'One or more trailing whitespaces were found!'
exit $ret