The Variable good_first_issue_count in github.py is intended to store the count of total issues labeled as good first issue in a GitHub repository. However, it currently always stores a value of 0 for all cases, which is not the expected behavior.
For instance, when using the above code for the repository https://github.com/oss-reva/gitscribe, the good_first_issue_count is incorrectly calculated as 0.
However, the actual good_first_issue_count for this repository should be 2, as seen in the following screenshot:
Problem Description:
The Variable
good_first_issue_count
in github.py is intended to store the count of total issues labeled as good first issue in a GitHub repository. However, it currently always stores a value of 0 for all cases, which is not the expected behavior.Code Snippet :
https://github.com/oss-reva/gitscribe/blob/0dd4d8c13c376b54c9a9208bef253bd88084829c/gitscribe/apis/github.py#L22-L23
Example:
For instance, when using the above code for the repository https://github.com/oss-reva/gitscribe, the
good_first_issue_count
is incorrectly calculated as0
.However, the actual
good_first_issue_count
for this repository should be2
, as seen in the following screenshot: