DevOps-Bash-tools
DevOps-Bash-tools copied to clipboard
fix(gitlab_validate_ci_yaml): syntax error
Sider has detected 1 warning on analyzing the commit de18e27.
- ⚠️ Goodcheck
If the errors persist even after retrying, the following actions may resolve them:
- Update tool dependencies
- Configure failed tools
- Configure
sider.yml - Turn off unused tools
If you still have problems, feel free to ask us via chat. 💬
You can turn off such notifications if unnecessary.
Did this cause you an issue and if so could you please post the output showing it, as this seems to work for me and the trailing $ is there to ensure it's the filename, not just a part of a path, eg.
$ gitlab_validate_ci_yaml.sh ./.gitlab-ci.yml/blah
invalid filename given, must be called '.gitlab-ci.yml', instead got: ./.gitlab-ci.yml/blah
$ gitlab_validate_ci_yaml.sh ./.gitlab-ci.yml
valid







