Skip to content
Snippets Groups Projects
Verified Commit 16f7cdcd authored by Lars Bilke's avatar Lars Bilke
Browse files

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

parent cda4581d
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment