From fe2316ef4887793f5be1b32bcdec32e3e2e28bad Mon Sep 17 00:00:00 2001 From: Abdullah Barhoum Date: Tue, 6 Sep 2022 18:55:48 +0200 Subject: [PATCH] Update Auto --- .github/workflows/executable.yml | 17 +++++++++++++++++ AUTOMATIC1111/Dockerfile | 5 ++--- AUTOMATIC1111/README.md | 2 ++ 3 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/executable.yml 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 <