Skip to content

CI Lint API support for passing included files in working tree

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Problem to Solve

When working on a gitlab-ci.yml file it's common that you'll be making changes to both the main file as well as other files that might be include:'d. If you make changes to these files, there is no way to validate them through the lint API as included files are used from the current default branch and can't be passed to the API.

Proposal

The CI Lint API should support passing included files as well as the main CI file. More details in gitlab-vscode-extension#485 (comment 801990387).

Additional Details

External tools (like code editors) where users are likely to be working on multiple files would benefit from this. gitlab-vscode-extension#485

Edited by 🤖 GitLab Bot 🤖