File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 23
23
24
24
# TODO: Adjust number of recent pull requests to include likely number of
25
25
# pull requests since the last release.
26
- RECENT_PULL_REQUEST_LIMIT = 10
26
+ RECENT_PULL_REQUEST_LIMIT = 50
27
27
28
28
29
29
def main ():
@@ -44,8 +44,10 @@ def main():
44
44
most_recent_tag_datetime = most_recent_tag .commit .committed_datetime
45
45
print ("most_recent_tag_datetime: {}" .format (most_recent_tag_datetime ))
46
46
47
+ g = Github (login_or_token = GITHUB_TOKEN )
48
+
47
49
# Find merged pull requests since the most recent tag.
48
- github_repo = Github ( login_or_token = GITHUB_TOKEN ) .get_repo (GITHUB_REPOSITORY )
50
+ github_repo = g .get_repo (GITHUB_REPOSITORY )
49
51
recent_pulls = github_repo .get_pulls (
50
52
state = "closed" ,
51
53
sort = "updated" ,
You can’t perform that action at this time.
0 commit comments