Repository navigation
fix: skip issues that are already assigned (#131) - #215
Conversation
|
hey, thanks for this! before reviewing.
|
drkrillo
left a comment
There was a problem hiding this comment.
smoke test is failing: this returns zero issues (empty CSV). the "Desired behavior" in the issue is already giving the solution... run the action locally to confirm it returns rows please. the steps to follow are in the docs. if you need any help dont hesitate to ask. asking is good :)
|
|
||
| request_url = mock_api_instance.make_request.call_args[0][0] | ||
|
|
||
| assert "is:unassigned" in request_url |
There was a problem hiding this comment.
this passes for any string, so it green-lit the broken query, assert the correct qualifier here instead please
|
sure , |
|
thanks a lot @shantanubilaw :) and congratz on your first open source PR, I see you are a first time github contributor :) the fix works and the smoke test returns real rows. also thanks for the extra logging, the "found X out of Y" line is useful to spot when the search gets capped at 100 one tiny thing if you want before I merge: for your next PRs, keep the full checklist from the template please if you want to keep contributing, I think that #203 might be a good follow up on this. #211 was near, so you might what to check that PR in case you want to take it. just comment on the issue and Ill assign it to you. |
What does this PR do?
This PR updates the issue-fetching logic to skip GitHub issues that are already assigned. It adds the
is:unassignedfilter to the GitHub Search API query and includes a test to verify that only unassigned issues are returned.Related Issue
Fixes #131
Checklist