Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
### PR Tips

- The title should be "package: description".
For example, "mcp: rename LoggingMessage to Log".
For more pervasive changes, use "all" instead of a package name.

- The commit message should provide context (why this commit?) and describe the changes
Copy link
Contributor

Choose a reason for hiding this comment

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

s/commit message/PR description?

Maybe say: "typically, PRs should consist of a single commit, and so should generally follow the rules for Go commit messages: https://go.dev/wiki/CommitMessage"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

requires another approval

at a high level. Changes that are obvious from the diffs don't need to be mentioned.

- Mention related issues with 'For #NNN' or 'Fixes #NNN' at the end of the commit message.

- Look for PRs similar to yours in the log of this repo, or the Go repo (github.com/golang/go).
Loading