-
Notifications
You must be signed in to change notification settings - Fork 17
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
chore: add shellcheck to lint .sh files #1730
chore: add shellcheck to lint .sh files #1730
Conversation
@tamirazrab, appreciate the PR! We can't guarantee that local developers have shellcheck installed, so it's possible that a contributor would have the linter fail unless we add shellcheck as a dev dependency. Once that's done, we should be able to run shellcheck within the project and avoid that issue. While we're at it, I also resolved a shellcheck warning in |
As a note, a survey of the project reveals two
We also have 12 |
I also noticed that the @tamirazrab, we also need to switch the |
Signed-off-by: t.azrab <[email protected]>
Definitely do able for larger parts. |
Good catch they should've been included, by your change it doesn't seem to work at my end so I separated them as different steps in |
Just to double-check, have you ran
Then, reset repo state with
|
Had |
@tamirazrab it looks like commit b402851 wasn't signed. We'll need to have all commits in the PR signed to follow org policy. |
Yeah so I forgot to sign that commit, when I again signed it, it popped as new commit e745fa8. |
@tamirazrab, I see the signed commit later in the chain. One option here would be to retroactively sign the commits through an interactive rebase (reference) and then do a Additionally, it looks like CI is failing because of a mismatch between the |
… 1706-add-shellcheck
Signed-off-by: t.azrab <[email protected]>
Co-authored-by: Sam Mayer <[email protected]>
b5f18c2
to
13f62be
Compare
New dependencies detected. Learn more about Socket for GitHub ↗︎
|
Thanks for the link, actually after some time I couldn't do it not sure why (maybe need to practice it in some demo-repo) so instead I actually dropped that commit, now all commits seems signed. Yes you are right, at work we avoid our local copy of lock file during commits, I thought it might be the same case here 😅, anyhow I added it. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1730 +/- ##
=======================================
Coverage 79.76% 79.76%
=======================================
Files 50 50
Lines 2120 2120
Branches 431 453 +22
=======================================
Hits 1691 1691
+ Misses 427 401 -26
- Partials 2 28 +26 |
Description
Add shellcheck to project, - couldn't make it to fix sh files automatically.
...
End to End Test:
(See Pepr Excellent Examples)
Related Issue
Fixes #1706
Relates to #
Type of change
Checklist before merging