-
Notifications
You must be signed in to change notification settings - Fork 72
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
Fixups for golang-based entrypoint #136
Conversation
Codecov Report
@@ Coverage Diff @@
## main #136 +/- ##
==========================================
+ Coverage 69.02% 74.80% +5.77%
==========================================
Files 2 2
Lines 113 127 +14
==========================================
+ Hits 78 95 +17
+ Misses 27 25 -2
+ Partials 8 7 -1
|
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.
LGTM overall. Will let @justaugustus and @laurentsimon also take a look.
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.
Left a few initial pass comments!
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.
LGTM overall, added a few comments to clarify my understanding. Thanks!
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.
@rohankh532 -- Left a few comments!
@rohankh532 -- I've got a few more review comments, but I'll issue them as pushes to your branch to speed things along! |
Co-authored-by: Stephen Augustus (he/him) <[email protected]>
Signed-off-by: Stephen Augustus <[email protected]>
Signed-off-by: Stephen Augustus <[email protected]>
Signed-off-by: Stephen Augustus <[email protected]>
Signed-off-by: Stephen Augustus <[email protected]>
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.
Thanks @rohankh532!!
- (Makefile) Created a makefile for building scorecard-action - (entrypoint.go) Changed resultsFilePath so that it is under the GithubWorkspace dir to fix file permission errors - (options.go) Properly pull & set EnvInputResultsFormat, EnvInputResultsFile, and EnvGithubAuthToken env vars - (options_test.go) Set EnvInputResultsFormat and EnvInputResultsFile before calling options.New() to see if it properly picks up env vars. Co-authored-by: Stephen Augustus <[email protected]>
(Dockerfile) Fixed the dockerfile so that it uses the new golang entrypoint instead of entrypoint.shupdate later(Dockerfile, options.go) Fixed the defaultScorecardPolicyFile not being copiedupdate later