Extend ee-specific-check to also include docs changes
Problem to solve
In order to move the EE docs into CE, we need to have a way to check that no new content is added in EE for the already ported docs. For example, if we port doc/README.md
into CE, and then someone changes this file in EE, the pipeline should fail. They would need to submit the change first in CE.
Proposal
Extend ee-specific-line-check
job to also include our docs. Currently, we have a whitelist in which the script does not run.
For an MVC, we can replace 'doc/**/*',
with all the subpaths. We can then select a path from the docs that we don’t want on the whitelist as a test and keep everything else on (long list for now).
Links / references
I tried to remove the doc dir form the whitelist, but it seems we need to do more https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/10800.