Verified Commit 16f7cdcd authored by Lars Bilke's avatar Lars Bilke
Browse files

[ci] Do not run pre-commit job on master.

parent cda4581d
......@@ -4,6 +4,9 @@ pre commit:
name: $PRECOMMIT_IMAGE
extends:
- .defaults
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
when: never
script:
- pre-commit install
- pre-commit run --all-files
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment