Run GraphQL docs rake task on changes
This commit makes pre-push hook run gitlab:graphql:check_docs rake task to make sure that our GraphQL docs are up-to-date. Changelog: changed
This commit is contained in:
parent
3e2c29a9f9
commit
15ceccd30c
|
@ -33,6 +33,11 @@ pre-push:
|
|||
files: git diff --name-only --diff-filter=d $(git merge-base origin/master HEAD)..HEAD
|
||||
glob: '*.rb'
|
||||
run: REVEAL_RUBOCOP_TODO=0 bundle exec rubocop --parallel --force-exclusion {files}
|
||||
graphql_docs:
|
||||
tags: documentation
|
||||
files: git diff --name-only --diff-filter=d $(git merge-base origin/master HEAD)..HEAD
|
||||
glob: '{app/graphql/**/*.rb,ee/app/graphql/**/*.rb}'
|
||||
run: bundle exec rake gitlab:graphql:check_docs
|
||||
vale: # Requires Vale: https://docs.gitlab.com/ee/development/documentation/#install-linters
|
||||
tags: documentation style
|
||||
files: git diff --name-only --diff-filter=d $(git merge-base origin/master HEAD)..HEAD
|
||||
|
|
Loading…
Reference in a new issue