Skip to content

Commit

Permalink
Have the cherry pick processor start with oldest updated PR first
Browse files Browse the repository at this point in the history
  • Loading branch information
David Davis authored and daviddavis committed Feb 17, 2020
1 parent 30bdcb7 commit 71dc804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/travis/.travis/cherrypick.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []

Expand Down

0 comments on commit 71dc804

Please sign in to comment.