From 3e7ac5ec3a5dab5b4a6843fe80b3eacc49c7e401 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Mon, 19 Jun 2023 17:53:40 +0200 Subject: [PATCH] check file mode bits ensure every file in ./gallery_dl has mode 644 --- .github/workflows/tests.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a72761d4..62691ac6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,6 +20,10 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Check file mode bits + run: | + [ "$(find ./gallery_dl -type f -not -perm 644)" ] && exit 1 + - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: