Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
890e9d59
Commit
890e9d59
authored
Mar 18, 2021
by
Evan Read
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove docs metadata check
parent
4183e569
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
lefthook.yml
lefthook.yml
+1
-5
No files found.
lefthook.yml
View file @
890e9d59
...
...
@@ -38,7 +38,3 @@ pre-push:
files
:
git diff --name-only --diff-filter=d $(git merge-base origin/master HEAD)..HEAD
glob
:
'
doc/*.md'
run
:
if command -v vale 2> /dev/null; then vale --config .vale.ini --minAlertLevel error {files}; else echo "Vale not found. Install Vale"; fi
docs-metadata
:
# https://docs.gitlab.com/ee/development/documentation/#metadata
tags
:
documentation style
files
:
git diff --name-only $(git merge-base origin/master HEAD)..HEAD | grep '.md'
run
:
if [[ $(head -n1 {files} | grep -v --count -- '---') -ge 1 ]]; then echo "$(tput setaf 1)Documentation metadata missing in changed Markdown files.$(tput sgr0) For more information, see https://docs.gitlab.com/ee/development/documentation/#metadata.";
false
; else echo "$(tput sgr0)Metadata found in {files}."; fi;
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