diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index cdd71169..00000000 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,18 +0,0 @@ - -**What I did** - -**Why I did it** - -**How I verified it** - -**Details if related** \ No newline at end of file diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index c44fea1c..af14303e 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -108,6 +108,11 @@ cargo test -p swbus-core - **Pre-commit**: Run `make pre-commit` if pre-commit hooks are configured - **Tests**: Add unit tests for new functionality; integration tests where applicable - **Reference**: Link to SONiC DASH HA design documents in PR description +- **PR description template**: Fill out all sections of the [PR template](.github/pull_request_template.md) when submitting a pull request: + - **Description of PR**: Summary of the change, motivation/context, reviewer entry point, and dependencies; reference issues with `fixes #xxxx` / `closes #xxxx`. + - **Type of change**: Mark the box(es) that apply — bug fix, new feature, refactor / cleanup, documentation update, test improvement. + - **Approach**: Motivation; how you did it; how you verified/tested it; any platform-specific notes. + - **Documentation**: Link to wiki / doc updates relevant to new features or test cases. ## Dependencies diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 00000000..f9372611 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,45 @@ + +### Description of PR + + +Summary: +Fixes # (issue) + +### Type of change + + + +- [ ] Bug fix +- [ ] New feature +- [ ] Refactor / cleanup +- [ ] Documentation update +- [ ] Test improvement + +### Approach +#### What is the motivation for this PR? + +#### How did you do it? + +#### How did you verify/test it? + +#### Any platform specific information? + +### Documentation +