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

chore: Enable OpenSSF Scorecard #2379

Merged
merged 1 commit into from
Dec 29, 2023
Merged

Conversation

mmorel-35
Copy link
Contributor

What type of PR is this?

  • chore: Enable OpenSSF Scorecard

What this PR does / why we need it:

  • seup scorecard workflow ans pin actions versions

Which issue(s) this PR fixes:
Fixes #2347

Signed-off-by: Matthieu MOREL [email protected]

@mmorel-35 mmorel-35 requested a review from a team as a code owner December 29, 2023 14:20
Signed-off-by: Matthieu MOREL <[email protected]>
Copy link

codecov bot commented Dec 29, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a723843) 64.67% compared to head (6975769) 64.62%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2379      +/-   ##
==========================================
- Coverage   64.67%   64.62%   -0.05%     
==========================================
  Files         114      114              
  Lines       16618    16618              
==========================================
- Hits        10747    10740       -7     
- Misses       5193     5199       +6     
- Partials      678      679       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mmorel-35
Copy link
Contributor Author

cc @phlax

@@ -19,7 +19,7 @@ jobs:
echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_ENV

- name: Login to DockerHub
uses: docker/login-action@v3
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why changes all these? will depbot update this later?

Copy link
Member

@phlax phlax Dec 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its more secure to reference them by hash rather than by version - but we still need the version for dependabot so its added as a comment

Copy link
Contributor

@arkodg arkodg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks !
looks like the same diff has been working well in Envoy Proxy
https://github.com/envoyproxy/envoy/blob/main/.github/workflows/scorecard.yml

@zirain zirain merged commit 9be3a97 into envoyproxy:main Dec 29, 2023
18 checks passed
@zirain
Copy link
Member

zirain commented Dec 29, 2023

@mmorel-35 need more work?
image

@mmorel-35 mmorel-35 deleted the ossf-scorecard branch December 29, 2023 23:07
@mmorel-35
Copy link
Contributor Author

mmorel-35 commented Dec 29, 2023

Just needed to be executed first on the targeted repository. I see the score now .5.9 This needs some more work indeed!

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

Successfully merging this pull request may close these issues.

Enable OpenSSF Scorecard
4 participants