-
Notifications
You must be signed in to change notification settings - Fork 507
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 fixing: Repo initialization in Dependencydiff #2070
Conversation
need rebase? |
Integration tests success for |
Codecov Report
@@ Coverage Diff @@
## main #2070 +/- ##
==========================================
- Coverage 42.11% 42.01% -0.10%
==========================================
Files 92 92
Lines 7551 7556 +5
==========================================
- Hits 3180 3175 -5
- Misses 4122 4132 +10
Partials 249 249 |
used the wrong branch as the base |
Integration tests success for |
Integration tests success for |
What kind of change does this PR introduce?
Fixing a bug introduced in PR #2046 where the
ghRepo
type of (clients.Repo) was created wrongly by the inputrepoURI
rather than the dependency repo to be checked by scorecard.What is the current behavior?
The Dependencydiff module uses the input repo to initialize the
ghRepo
to run the scorecard check, resulting in all of the dependencies having the same check results and scores (of the input repo).What is the new behavior (if this is a feature change)?**
The module will correctly initialize
ghRepo
using the dependency's srcRepo URI.Which issue(s) this PR fixes
Fixes #2046
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.)