-
Notifications
You must be signed in to change notification settings - Fork 17
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
fix: continue on no update for repository #273
Conversation
@jmrt47 thank you for the fix. Is a test possible? Wdyt? |
@jmeridth I thought of introducing a test as well, but currently it seems a bit too complicated for me to test the main method as a whole. IMO the main method should be refactored and chopped into chunks which are easy to understand by follow one purpose. This way the logic of the method could also easier be tested. |
Agreed. I'm good merging this with a test in mind. Can you file an issue for it please so we don't lose track of it? |
Thanks, I put the idea in issue #275 to not lose track |
Whoops. Looks like #270 may have fixed the issue also (from original author). Looking at that now. |
Pull Request
Proposed Changes
In #265 a bug was introduced by removing the continue statement which prevents further processing of issue/pr creation for repositories where no update to the dependabot file was found. This PR just adds the continue statement again. Bug was confirmed by @ricardojdsilva87 already in comment of #265 and a fix is also part of #270.
Right now all evergreen runs fail with an error as soon as the first repository without changes is processed.
Readiness Checklist
Author/Contributor
make lint
and fix any issues that you have introducedmake test
and ensure you have test coverage for the lines you are introducing@jeffrey-luszcz
Reviewer
fix
,documentation
,enhancement
,infrastructure
,maintenance
orbreaking