Skip to content

Conversation

@xhsun
Copy link

@xhsun xhsun commented Nov 7, 2025

Description

Goal of this PR is to add pull request format guideline to let people know how we expect a pull request title and description to layout. And also to provide a sample that can be used as reference.

What type of PR is this? (only check one)

  • Feature (feat)
  • Bug Fix (fix)
  • Refactor (refactor)
  • Documentation Update (doc)
  • Other, please specify:

Does this PR introduce any breaking changes?

  • No
  • Yes, and this is why:
  • I need help determining if there are any breaking changes

Does the PR title type prefix match the selected type?

  • Yes
  • No, and this is why:
  • I need help select the right one

Added/updated tests?

Please keep the code coverage percentage at 80% and above.

  • Yes
  • No, and this is why: this repo don't have test
  • I need help with writing tests

@xhsun xhsun self-assigned this Nov 7, 2025
@bvigar bvigar self-requested a review November 7, 2025 19:11
- Provide tests for your changes.
- Fill out the pull request template.
- Ensure your PR title follow the guideline described in:
https://github.com/DecisiveAI/changelogs?tab=readme-ov-file#pull-request-title
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This link will be broken until this PR is merged in main

If you selected Other, please ensure the type you provided
is one of the valid types outlined in
https://github.com/DecisiveAI/changelogs?tab=readme-ov-file#type
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here


# Guidelines

## Pull Request Format
Copy link
Author

@xhsun xhsun Nov 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This might be more fitting to go into CONTRIBUTING.md, but I really don't feel like writing a whole contribution guideline right now... So it will stay in the readme until we have a clear contribution guideline...


Changes can only be `Squashed & Merged` to `main` of any repositories of MDAI via a pull request. The pull request must follow the format outlined in this section to both give reviewer an easier time to understand context of the pull request and also to ensure our changelog generator can parse the changes properly.

### Pull Request Title
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are your thoughts on putting the Jira ticket id (like ENG-999) in the title? Consumers of the changelog won't have any ability to see those jira items, so they probably do not make sense for this...

I think we could still put the ticket ID in the branch name though. Pretty sure Jira can still pick that up.

Copy link
Author

@xhsun xhsun Nov 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jira will also picks it up if the ticket ID is in the PR description, I can add the jira ticket ID into the pr template, similar to
image

Comment on lines +61 to +69
## Added/updated documentation and/or lab?
<!--
If it does not make sense for the changes done in this repository to ever
need to update lab repo, then feel free to change the wording of this
section when copied over.
-->
- [ ] Yes <!--If applicable, provide lab PR url here-->
- [ ] N/A
- [ ] I need help No newline at end of file
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@o11yguru Base on your comment, I added this section.

But I feel like it a little redundant. Since under What type of PR is this? (only check one), we explicitly call out doc and not ever repo will warrant lab update. So I'm wondering if this section should only be added for the repo that needs it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants