Commit 0a07c9c9 authored by Albert Salim's avatar Albert Salim

Add rule `exists-ee` to check for `ee/` directory

The presence of ee/ is the absolute indicator whether
a project is ee or foss.
parent 2ae25491
......@@ -4,6 +4,10 @@
.if-not-canonical-namespace: &if-not-canonical-namespace
if: '$CI_PROJECT_NAMESPACE !~ /^gitlab(-org)?($|\/)/'
.exists-ee: &exists-ee
exists:
- ee/**/*
.if-not-ee: &if-not-ee
if: '$CI_PROJECT_NAME !~ /^gitlab(-ee)?$/'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment