File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ def fetch_num_closed_prs_yesterday():
6868 yesterday = today - timedelta (days = 1 )
6969 start_of_yesterday = datetime .combine (yesterday , datetime .min .time ())
7070 end_of_yesterday = datetime .combine (yesterday , datetime .max .time ())
71- url_closed_prs_yesterday = f"{ GITHUB_API_URL } /repos/aws-actions/{ REPO_NAME } /issues ?state=closed&since={ start_of_yesterday .isoformat ()} &until={ end_of_yesterday .isoformat ()} "
71+ url_closed_prs_yesterday = f"{ GITHUB_API_URL } /repos/aws-actions/{ REPO_NAME } /pulls ?state=closed&since={ start_of_yesterday .isoformat ()} &until={ end_of_yesterday .isoformat ()} "
7272 return fetch_data (url_closed_prs_yesterday )
7373
7474def upload_metrics_to_cloudwatch (num_issues , num_prs_open , num_prs_closed_yesterday ):
You can’t perform that action at this time.
0 commit comments