Skip to content

Commit 6279802

Browse files
authored
[Fix] Release notes generator failing to fetch latest milestone (#2898)
1 parent 7f69ad4 commit 6279802

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/release_notes_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737

3838
def _get_milestone_number(client, milestone_title):
39-
query_params = {'milestone': milestone_title, 'state': 'all', 'per_page': 100}
39+
query_params = {'state': 'all', 'per_page': 100, 'direction': 'desc'}
4040
response = client.get(
4141
github_org=GITHUB_ORG, repo=REPO, endpoint='milestones', query_params=query_params
4242
)

0 commit comments

Comments
 (0)