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

✨ Enable CI-Tests to run as commit-based check #1737

Merged
merged 1 commit into from
Mar 16, 2022

Conversation

azeemshaikh38
Copy link
Contributor

@azeemshaikh38 azeemshaikh38 commented Mar 16, 2022

What kind of change does this PR introduce?

Enable CI-Test as a commit-based check. This is the final check needed to support a commit-specific Scorecard result.

(Is it a bug fix, feature, docs update, something else?)

What is the current behavior?

No support for commit-specific Scorecard result.

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

Adds support for --commit= option in Scorecard CLI.

  • Tests for the changes have been added (for bug fixes/features)
    Yes, e2e/ci_tests_test.go has tests for this.

Which issue(s) this PR fixes

Fixes #575

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.)

Add support for commit-based Scorecard checks.

@azeemshaikh38 azeemshaikh38 temporarily deployed to integration-test March 16, 2022 20:40 Inactive
@azeemshaikh38 azeemshaikh38 enabled auto-merge (squash) March 16, 2022 20:40
@github-actions
Copy link

@codecov
Copy link

codecov bot commented Mar 16, 2022

Codecov Report

Merging #1737 (e1f6a9a) into main (c8acf36) will increase coverage by 3.22%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1737      +/-   ##
==========================================
+ Coverage   57.02%   60.24%   +3.22%     
==========================================
  Files          63       63              
  Lines        6192     6186       -6     
==========================================
+ Hits         3531     3727     +196     
+ Misses       2420     2212     -208     
- Partials      241      247       +6     

Copy link
Member

@naveensrinivasan naveensrinivasan left a comment

Choose a reason for hiding this comment

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

Thanks! LGTM. Could we add tests for these changes?

Disabled auto-merge

@azeemshaikh38
Copy link
Contributor Author

Thanks! LGTM. Could we add tests for these changes?

Disabled auto-merge

Test already exists in e2e/ci_tests_test.go. It runs a commit-specific CI-Test check.

Copy link
Contributor

@laurentsimon laurentsimon left a comment

Choose a reason for hiding this comment

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

Thanks!

@naveensrinivasan
Copy link
Member

Thanks! LGTM. Could we add tests for these changes?
Disabled auto-merge

Test already exists in e2e/ci_tests_test.go. It runs a commit-specific CI-Test check.

Thanks!

@naveensrinivasan naveensrinivasan merged commit dc302bd into main Mar 16, 2022
@naveensrinivasan naveensrinivasan deleted the azeems/commit branch March 16, 2022 21:20
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.

Commit based scorecard
4 participants