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

feat: run scorecard only once #1071

Open
laurentsimon opened this issue Jan 13, 2023 · 0 comments
Open

feat: run scorecard only once #1071

laurentsimon opened this issue Jan 13, 2023 · 0 comments

Comments

@laurentsimon
Copy link
Contributor

The Action runs scorecard twice: once for the SARIF results, and once to upload the results to the API server. This increases rate limits and is also slower.

We need to run scorecard once only, then:

  1. filter out the results depending on trigger type (PR vs not PR), and generate the SARIF output
  2. Use all the results and generate the JSON result to upload to the API server

/cc @naveensrinivasan @azeemsgoogle

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

No branches or pull requests

1 participant