-
Notifications
You must be signed in to change notification settings - Fork 78
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
Enhance sdk-changelog commands #4040
Conversation
Pull Request Test Coverage Report for Build 6aaf28fc-51d6-44ae-849e-9eb74299a1dcDetails
💛 - Coveralls |
Your changelog in markdown :) |
Changelog(s) in markdown: |
Changelog(s) in markdown:
|
@@ -36,6 +36,14 @@ jobs: | |||
run: | | |||
echo "Validating changelog for PR: $PR_NUMBER with Name: $PR_TITLE" | |||
poetry run python ./Utils/github_workflow_scripts/changelog_validation_scripts/validate_changelog.py -n "$PR_NUMBER" -t "$PR_TITLE" | |||
- name: Comment Changelog In PR Description |
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.
Consider making this run only if the changelog validation passed (needs: validate-changelog
) instead of continue-on-error
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.
wdym? it already runs only if validate was successful. (its like the behaivor you described, needs: validate-changelog
)
I didn't see a reason to fail the whole job in case the comment step didn't work, that's why i use continue_on_error
only on the last step.
Utils/github_workflow_scripts/changelog_comment_scripts/comment_changelog.py
Outdated
Show resolved
Hide resolved
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.
nice job!
Related Issues
related: https://jira-dc.paloaltonetworks.com/browse/CIAC-9581
Description
sdk-changelog --init
command automatically detect the pull request number.Tests: