Skip to content

Commit cf868af

Browse files
authored
update defaults for github analytics script (#7266)
So we don't have to manually run the script every day AND add space between url and title so you can click URL link from job
1 parent 40d37e2 commit cf868af

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/github-analytics-daily.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ on:
1212
inputs:
1313
branch:
1414
description: "PyTorch release branch. e.g. release/2.7"
15-
default: "release/2.8"
15+
default: "release/2.9"
1616
required: false
1717
type: string
1818
milestone-id:
1919
description: 'Release milestone ID. e.g. 54'
20-
default: 53
20+
default: 55
2121
required: false
2222
type: string
2323
workflow_dispatch:
@@ -66,7 +66,7 @@ jobs:
6666
python3 tools/analytics/github_analyze.py \
6767
--repo-path ./pytorch \
6868
--remote origin \
69-
--branch "${BRANCH:-release/2.8}" \
69+
--branch "${BRANCH:-release/2.9}" \
7070
--analyze-missing-reverts-from-branch
7171
7272
- name: Show outstanding milestone issues
@@ -77,6 +77,6 @@ jobs:
7777
python3 tools/analytics/github_analyze.py \
7878
--repo-path ./pytorch \
7979
--remote origin \
80-
--branch "${BRANCH:-release/2.8}" \
81-
--milestone-id "${MILESTONE:-53}" \
80+
--branch "${BRANCH:-release/2.9}" \
81+
--milestone-id "${MILESTONE:-55}" \
8282
--missing-in-branch

tools/analytics/github_analyze.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ def get_commits_dict(x, y):
479479
# if Issue is mentioned is release branch, than it was picked already
480480
if mentioned_in_release:
481481
continue
482-
print(f'{issue_url};{issue["title"]};{state}')
482+
print(f'{issue_url} ;{issue["title"]};{state}')
483483

484484

485485
def commits_missing_in_release(

0 commit comments

Comments
 (0)