diff --git a/templates/travis/.travis/cherrypick.py b/templates/travis/.travis/cherrypick.py index f3da465a..048ab3bd 100644 --- a/templates/travis/.travis/cherrypick.py +++ b/templates/travis/.travis/cherrypick.py @@ -67,7 +67,7 @@ def get_merged_commits(pr): g = Github(GITHUB_TOKEN) grepo = g.get_repo(REPOSITORY) (label,) = (l for l in grepo.get_labels() if l.name == PR_LABEL) -issues = grepo.get_issues(labels=[label], state="all") +issues = grepo.get_issues(labels=[label], state="all", sort="updated", direction="asc") cherrypicks = []