-
Notifications
You must be signed in to change notification settings - Fork 509
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
BUG SAST tool check runs on doc-only commits. #2487
Comments
Thanks @ianlewis. IIUC, there are static analysis tools for config/workflow files. So checking for SAST tools on commits which only change YAML would be a valid usecase? If we were to limit ourselves to doc files (like
|
I think that's a fair point. It would be nice if scorecard had support for them.
Maybe the solution is expanding the number of SAST tools that scoreccard checks for? Scorecard itself has SAST like behavior for its permissions checks on GitHub workflows. I know several projects that have found those valuable. |
@laurentsimon do you know if we consider scorecard-action itself as a SAST tool? |
We currently do not, but we should revive #1487 and improve the SAST check to include it. The PR is too API intensive, and we need to solve this problem before merging it. |
The slsa-github-generator repo currently omits running the CodeQL action on commits that are documentation or yaml only as the CodeQL action is slow doesn't support markdown or yaml anyway.
However, scorecard dings us for not running CodeQL on all of our commits. It would be nice if the scorecard could detect if the commits were documentation-only changes or not.
The text was updated successfully, but these errors were encountered: