rust-lang / triagebot

Automation/tooling for Rust spaces
https://triage.rust-lang.org
Apache License 2.0
170 stars 74 forks source link

Fix recent_commits pagination. #1675

Closed ehuss closed 1 year ago

ehuss commented 1 year ago

Somehow when working on the query I missed copying over the after argument, which is needed to specify the start of the next page for the recent_commits GraphQL query.

This also adds a copy of the original query as a doc comment. That can help if the query needs to be updated in the future. The query can be plugged back in to the generator and modified more easily this way.