skip the branch check in the test action
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Thu, 22 Feb 2024 18:37:48 +0000 (19:37 +0100)
committerGitHub <noreply@github.com>
Thu, 22 Feb 2024 18:37:48 +0000 (19:37 +0100)
.github/workflows/test.yml

index 40a848dc6e45b520fa423c3eed7f69cfafbfb190..ab2522d16fd91ed83c9a3d94848ed519cb88769e 100644 (file)
@@ -28,7 +28,7 @@ jobs:
           python -m pip install --upgrade pip build setuptools
           pip install . .[test]
       - name: Lint/test with pre-commit
-        run: pre-commit run --all-files
+        run: SKIP=no-commit-to-branch pre-commit run --all-files
 
   test:
     runs-on: ubuntu-latest