Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(gitlab_validate_ci_yaml): syntax error #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TenviLi
Copy link

@TenviLi TenviLi commented Jun 18, 2022

No description provided.

@sonarcloud
Copy link

sonarcloud bot commented Jun 18, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@ghost
Copy link

ghost commented Jun 18, 2022

Sider has detected 1 warning on analyzing the commit de18e27.

If the errors persist even after retrying, the following actions may resolve them:

If you still have problems, feel free to ask us via chat. 💬


You can turn off such notifications if unnecessary.

@HariSekhon
Copy link
Owner

HariSekhon commented Jun 20, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants