-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate the CHANGELOG based on the PR's target branch [skip ci] #11867
Generate the CHANGELOG based on the PR's target branch [skip ci] #11867
Conversation
To fix: NVIDIA#11866 Generate the CHANGELOG based on the PR's target branch if the PR's project roadmap is empty. Signed-off-by: Tim Liu <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we still need no_project_prs
after your changes? Seems it can be removed.
We won't need the 'no_project_prs' variable because PRs will be added to the CHANGELOG. Signed-off-by: Tim Liu <[email protected]>
updated, remove the unused varaible |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. assume this has been verified with different cases thanks
project = f"{RELEASE} {ver}" | ||
else: | ||
continue | ||
else: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: this should be safe to be removed, as it was trying make the script compatible for classic projects which had been gone for a long time. its also fine we could still leave it here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree; removing compatibility with project cards simplifies the logic."
Yes verified PRs/Issues both with and without project[roadmap], works well |
it is no longer necessary to maintain compatibility with the old version of GitHub Projects Signed-off-by: Tim Liu <[email protected]>
Build PASS:
|
build |
To fix: #11866
Generate the CHANGELOG based on the PR's target branch if the PR's project roadmap is empty.