-
Notifications
You must be signed in to change notification settings - Fork 39
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
Introduce OpenSSF Scorecard GitHub action #574
Conversation
2eddcef
to
d95cd72
Compare
with: | ||
persist-credentials: false | ||
- name: Run OpenSSF Scorecard analysis | ||
uses: ossf/[email protected] |
Check warning
Code scanning / Scorecard
Pinned-Dependencies
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Check out code | ||
uses: actions/[email protected] |
Check warning
Code scanning / Scorecard
Pinned-Dependencies
jobs: | ||
update-pr: | ||
if: ${{ github.event.workflow_run.conclusion == 'success' }} | ||
permissions: | ||
actions: read | ||
checks: write |
Check failure
Code scanning / Scorecard
Token-Permissions
Looks good. No mutations were possible for these changes. |
Kudos, SonarCloud Quality Gate passed! |
Looks good. No mutations were possible for these changes. |
2dc6ff8
to
6bfb77a
Compare
Looks good. No mutations were possible for these changes. |
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.
This looks so interesting! Didn't dive too deep into all the checks this has, but it sounds promising.
Nice setup, could spot only 1 tiny thing, so added a commit.
uses: ossf/[email protected] | ||
with: | ||
results_file: results.sarif | ||
results_format: sarif |
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.
Cool stuff! This is what was also used by the EP PR for collecting diagnotics.
uses: github/codeql-action/[email protected] | ||
with: | ||
sarif_file: results.sarif | ||
|
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.
One extra line here 👀.
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.
Nice eye for detail! 😄
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.
Consistency for the win 😉.
results_format: sarif | ||
publish_results: ${{ github.ref == 'refs/heads/master' }} | ||
- name: Update GitHub's code scanning dashboard | ||
uses: github/codeql-action/[email protected] |
Check warning
Code scanning / Scorecard
Pinned-Dependencies
Looks good. No mutations were possible for these changes. |
Oh btw, Monday we'll do some big upgrades to Renovate. Let's see if it picks up on the GHA dependencies again. Otherwise, we'll look into that. Pending that we can setup the pinning that it now flags 😄. So to be continued. |
Suggested commit message:
For the output, see this view. Only warnings about non-pinned dependencies remain. Those can be resolved using Renovate, IIUC, so I propose we address that separately.