-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
Run shellcheck in a one-liner #834
base: master
Are you sure you want to change the base?
Conversation
👷 Deploy request for kodiak-dashboard-staging pending review.Visit the deploys page to approve it
|
👷 Deploy request for kodiak-docs pending review.Visit the deploys page to approve it
|
If it works the local shell script could be deleted. |
@@ -407,7 +407,7 @@ jobs: | |||
- run: | |||
name: run shellcheck | |||
command: | | |||
./s/shellcheck | |||
git ls-files --exclude='*.sh' --ignored --cached -z | xargs -0 -r shellcheck |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need the s/shellcheck script so we can run this check locally
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now I have to face that I'm not a developer, and unable to sympathize 😿
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about moving this one-liner to s/shellcheck
?
Docs: https://www.shellcheck.net/wiki/GitLab-CI