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

🌱 polish scorecard workflow for use as example workflow #3969

Merged
merged 1 commit into from
Mar 22, 2024

Conversation

spencerschrock
Copy link
Contributor

@spencerschrock spencerschrock commented Mar 22, 2024

What kind of change does this PR introduce?

workflow update

What is the current behavior?

Some version comments are out of date.
One actions is out of date

What is the new behavior (if this is a feature change)?**

  • Adds version comments
  • adds some explanatory comments
  • deleted repo_token arg since it will use the GitHub token by default anyway
  • Updates github/codeql-action/upload-sarif to the latest release, not sure why dependabot hasn't updated it.

The intent is to use this file as an example for the Scorecard Action repo (see ossf/scorecard-action#1352) so it remains up-to-date through dependabot. Currently the workflow example from the Scorecard Action readme is out of date (see #3968) .

Where possible I tried to make the workflow match our example, in terms of comments.

  • Tests for the changes have been added (for bug fixes/features)

Which issue(s) this PR fixes

Related to #3968 and ossf/scorecard-action#1287

Special notes for your reviewer

Does this PR introduce a user-facing change?

For user-facing changes, please add a concise, human-readable release note to
the release-note

(In particular, describe what changes users might need to make in their
application as a result of this pull request.)

NONE

This updates the version comments, adds some explanatory comments,
and generally makes it better. The intent is to use this file as an example
for the Scorecard Action repo so it remains up-to-date.

Signed-off-by: Spencer Schrock <sschrock@google.com>
@spencerschrock spencerschrock requested a review from a team as a code owner March 22, 2024 17:47
@spencerschrock spencerschrock requested review from naveensrinivasan and raghavkaul and removed request for a team March 22, 2024 17:47
Copy link

codecov bot commented Mar 22, 2024

Codecov Report

Merging #3969 (7dd0c0c) into main (5b0ae81) will decrease coverage by 4.49%.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3969      +/-   ##
==========================================
- Coverage   75.01%   70.52%   -4.49%     
==========================================
  Files         227      227              
  Lines       16263    16263              
==========================================
- Hits        12199    11469     -730     
- Misses       3290     4067     +777     
+ Partials      774      727      -47     

@spencerschrock spencerschrock merged commit e780e08 into ossf:main Mar 22, 2024
42 checks passed
@spencerschrock spencerschrock deleted the polish-scorecard-workflow branch March 22, 2024 18:14
fhoeborn pushed a commit to fhoeborn/scorecard that referenced this pull request Apr 1, 2024
This updates the version comments, adds some explanatory comments,
and generally makes it better. The intent is to use this file as an example
for the Scorecard Action repo so it remains up-to-date.

Signed-off-by: Spencer Schrock <sschrock@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants