Skip to content
代码片段 群组 项目
提交 de86dae0 编辑于 作者: huzaifaiftikhar1's avatar huzaifaiftikhar1
浏览文件

Update lefthook config to check when audit_events.md is updated directly

上级 e4b14c22
No related branches found
No related tags found
无相关合并请求
...@@ -101,7 +101,7 @@ pre-push: ...@@ -101,7 +101,7 @@ pre-push:
audit_event_types_docs: audit_event_types_docs:
tags: documentation tags: documentation
files: git diff --name-only --diff-filter=d $(git merge-base origin/master HEAD)..HEAD files: git diff --name-only --diff-filter=d $(git merge-base origin/master HEAD)..HEAD
glob: '{config/audit_events/types/*.yml,ee/config/audit_events/types/*yml}' glob: '{config/audit_events/types/*.yml,ee/config/audit_events/types/*yml,doc/administration/audit_event_streaming/audit_event_types.md}'
run: bundle exec rake gitlab:audit_event_types:check_docs run: bundle exec rake gitlab:audit_event_types:check_docs
rubocop: rubocop:
tags: backend style tags: backend style
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册