Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
wenqing
ogs
Commits
16f7cdcd
Verified
Commit
16f7cdcd
authored
Jun 19, 2020
by
Lars Bilke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ci] Do not run pre-commit job on master.
parent
cda4581d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
scripts/ci/jobs/pre-commit.yml
scripts/ci/jobs/pre-commit.yml
+3
-0
No files found.
scripts/ci/jobs/pre-commit.yml
View file @
16f7cdcd
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment