diff --git a/.github/workflows/executable.yml b/.github/workflows/executable.yml new file mode 100644 index 0000000..592f985 --- /dev/null +++ b/.github/workflows/executable.yml @@ -0,0 +1,17 @@ +name: Check executable + +on: [push] + +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - run: | + shopt -s globstar + for file in **/*.sh; do + if [ -f "${file}" ] && [ -r "${file}" ] && [ ! -x "${file}" ]; then + echo "$file" is not executable; + exit 1; + done + done diff --git a/AUTOMATIC1111/Dockerfile b/AUTOMATIC1111/Dockerfile index 185436c..afa319d 100644 --- a/AUTOMATIC1111/Dockerfile +++ b/AUTOMATIC1111/Dockerfile @@ -19,13 +19,12 @@ RUN apt-get update && apt-get install git fonts-dejavu-core -y && apt-get clean RUN <