e484a06472
The Pull Request resource doesn't include the `comments` field, while the Issue resource does. And since we're looping through all issues anyway, we can freely check if the issue is a PR and has comments and in this case only fetch comments for it. That means if you have 1000 PRs but only 200 with comments, you will do 200 API requests instead of 1000. :notbad: Signed-off-by: Rémy Coutable <remy@rymai.me> |
||
---|---|---|
.. | ||
api | ||
assets | ||
backup | ||
banzai | ||
bitbucket | ||
constraints | ||
container_registry | ||
declarative_policy | ||
generators/rails/post_deployment_migration | ||
github | ||
gitlab | ||
haml_lint | ||
json_web_token | ||
mattermost | ||
microsoft_teams | ||
omni_auth/strategies | ||
peek/rblineprof | ||
rouge | ||
rspec_flaky | ||
support | ||
system_check | ||
tasks | ||
additional_email_headers_interceptor.rb | ||
after_commit_queue.rb | ||
banzai.rb | ||
declarative_policy.rb | ||
disable_email_interceptor.rb | ||
email_template_interceptor.rb | ||
event_filter.rb | ||
expand_variables.rb | ||
extracts_path.rb | ||
feature.rb | ||
file_size_validator.rb | ||
gitlab.rb | ||
gt_one_coercion.rb | ||
repository_cache.rb | ||
static_model.rb | ||
system_check.rb | ||
unfold_form.rb | ||
uploaded_file.rb | ||
version_check.rb |