-
Notifications
You must be signed in to change notification settings - Fork 506
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
Feature: Scorecard Dependency-diff API, CLI and Action #2008
Comments
This is cool. BigQuery needs authentication to run these checks. Would we require the user to provide those credentials? |
I also wonder whether it'd be useful to have a
Note that the project is focused on exposing the functionality in the Action first. I'm asking the questions above out of curiosity :-) |
Why not build that capability within Scorecard and then build it in the action? This will help with the larger customers who aren't just focused on Action. |
Yeah I'm preparing for my first pull request and get confused now about where I should put my code to. Currently, I'm testing my code locally in the also cc @azeemshaikh38 |
Thanks Naveen and, great question :D Instead, I am actively building a |
OK, Probably that should have been called out. Is there a design for this? So that we can understand and have a consensus. |
I am doing some modifications on my design doc, and then i'll share it with you via email by the end of tomorrow, so that we can discuss it in Thursday's meeting. |
Cool @aidenwang9867! Can you please post it in the google groups? Thanks |
np |
Based on what was presented in the Bi-Weekly scorecard meeting and the design document. Here are the things that we have discussed.
|
Thank you so much Naveen, for summarizing the things we discussed! |
by "repository" you mean the repository with scorecard Action installed? Or do you mean:
Is this what you meant? |
@naveensrinivasan in case u missed this message from Laurent :D |
This issue is stale because it has been open for 60 days with no activity. |
This issue is stale because it has been open for 60 days with no activity. |
This issue has been marked stale because it has been open for 60 days with no activity. |
Recent release of dependency-review-action supports this, but there may be edge case for projects not in our API dataset. @jeffmendoza (paraphrased):
@spencerschrock proposed the deprecation, so I'm assigning this to him. Note that we also need to check on whether the https://github.com/ossf/scorecard-dependencyanalysis should be archived. |
Is your feature request related to a problem? Please describe.
The scorecard Action only reports the Scorecard results for the repository under analysis. The project will surface scorecard results for the dependencies for new pull requests.
Describe the solution you'd like
Add an API design that can fetch direct dependency changes (diffs) from a pull request using the GitHub Dependency Review API, surface Scorecard checks and scores for those dependencies and return the results.
Add a new Scorecard sub-command CLI,
scorecard dependency-diff
, which uses the above API and outputs the result dependencies as JSON.Add a new Scorecard Action running on a pull request, use the API to visualize the dependency-diff and their Scorecard checking results in the PR comments as markdown.
Additional context
Assignee: @aidenwang9867
The text was updated successfully, but these errors were encountered: