From 23469837cd58a5316843ab9efe2c9549d5e58b9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Sun, 25 Jun 2023 00:48:40 +0200 Subject: [PATCH] attempt to fix file permission tests --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 62691ac6..36ab9534 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,9 +20,9 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Check file mode bits + - name: Check file permissions run: | - [ "$(find ./gallery_dl -type f -not -perm 644)" ] && exit 1 + if [[ "$(find ./gallery_dl -type f -not -perm 644)" ]]; then exit 1; fi - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4