From e1012641422f9d476baa98c297d4babac079499c Mon Sep 17 00:00:00 2001 From: Adiz4415 Date: Sat, 20 Jun 2026 16:05:09 +0000 Subject: [PATCH 1/2] chore(repo): add pull request template Adds a default PR description template so future contributors have a consistent structure for describing changes, plans, and breaking changes. Modeled on the existing .github/ISSUE_TEMPLATE/feature_request.md style. --- .github/pull_request_template.md | 95 ++++++++++++++++++++------------ 1 file changed, 61 insertions(+), 34 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index f726f02..e65ce75 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,39 +1,66 @@ -# Pull Request Template +## Summary -## Description + -Please include a summary of the change and which issue is fixed. Also include relevant motivation and context. +## Related Issues ---- + + +## Changes + + + +## Test Plan / Verification + + + +## Screenshots / Recordings + + ## Checklist -- [ ] I have tested my changes locally -- [ ] I have updated documentation as needed -- [ ] I have run `npx prisma generate` after schema changes -- [ ] I have run `npx prisma migrate dev` or `npx prisma migrate deploy` as appropriate - ---- - -## Post-Merge Steps for Maintainers - -**If this PR includes changes to the Prisma schema:** - -1. Run the following command to apply the migration to your database: - - ```sh - npx prisma migrate deploy - ``` - or, for local development: - ```sh - npx prisma migrate dev - ``` -2. Ensure your CI pipeline runs the migration before tests (add this step if missing): - ```yaml - - name: Run Prisma Migrate - run: npx prisma migrate deploy - ``` -3. Make sure the database user in CI has permission to run migrations. - ---- - -If you have any questions, please comment on this PR. + +- [ ] PR title follows Conventional Commits (e.g. `feat(frontend): …`, `fix: …`, `chore: …`, `docs: …`) +- [ ] Changeset added at repo root (`pnpm changeset`) for any user-facing change — packages are bucketed automatically in this monorepo +- [ ] Tests added or updated for behavior changes +- [ ] Docs updated (if behavior is user-facing) +- [ ] No new warnings from `pnpm lint` / `cargo clippy` +- [ ] If backwards-incompatible, the **Breaking Changes** section below is filled in + +## Breaking Changes + + + +## Notes for Reviewers + + From 7acd4d661c62d85afc2a2aa6dd4d30c8335d3d33 Mon Sep 17 00:00:00 2001 From: Adiz4415 Date: Sat, 20 Jun 2026 16:16:58 +0000 Subject: [PATCH 2/2] chore(repo): add bug report issue template --- .github/ISSUE_TEMPLATE/bug_report.md | 86 ++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..6e8bed8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,86 @@ +--- +name: Bug Report +about: Report a defect in the app, API, or smart contracts +title: '[BUG] ' +labels: bug +assignees: '' +--- + +## Summary + + + +## Steps to Reproduce + +1. ... +2. ... +3. ... + +## Expected Behavior + + + +## Actual Behavior + + + +## Environment + + + +## Logs / Artifacts + + + +## Related Issues / PRs + + + +## Severity + + + +## Possible Cause (optional) + + + +## Reproduction Checklist + +- [ ] I searched existing issues and confirmed this is not a duplicate +- [ ] I can reproduce this bug at will +- [ ] I have redacted all secrets / private keys from logs before submitting