stable-diffusion-webui-docker/.github/workflows/executable.yml
Abdullah Barhoum d1f7871aab yaml
2022-09-06 19:30:28 +02:00

20 lines
433 B
YAML

name: Check executable
on: [push]
jobs:
check:
runs-on: ubuntu-latest
name: Check all sh
steps:
- uses: actions/checkout@v3
- shell: run
run: |
shopt -s globstar;
for file in **/*.sh; do
if [ -f "${file}" ] && [ -r "${file}" ] && [ ! -x "${file}" ]; then
echo "$file" is not executable;
exit 1;
fi
done