Skip to content

Commit

Permalink
github: update issue and PR templates (ObolNetwork#284)
Browse files Browse the repository at this point in the history
Updates the issue and PR templates. Instructions wrapped in `<!-- -->` comments. Point to contribution guidelines.

category: misc
ticket: none
  • Loading branch information
OisinKyne authored Mar 26, 2022
1 parent c5e4c28 commit 5ccff33
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 13 deletions.
6 changes: 5 additions & 1 deletion .github/issue_template.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
## Problem to solve
## Problem to be solved

Describe the problem in detail.

## Proposed solution

Provide a proposed solution.

### Out of Scope

If there is anything to highlight as out of scope for this issue, please outline it here.
18 changes: 11 additions & 7 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
// ==== Instructions ====
// PR title format: `package[/subpackage]: concise overview`
// PR body: Replace body with detailed description of the change.
// category: pick one, delete the rest
// ticket: Replace #000 with link to a GitHub issue
// ==== delete up to here ===
body
<!-- Thanks for submitting a PR! 🎉🚀
- Please review our contribution guide https://github.com/ObolNetwork/charon/blob/main/docs/contributing.md
- You will then need to sign our Contributor License Agreement (CLA), which will show up as a comment from a bot in this pull request after you open it. We cannot review code without a signed CLA.
- Format this PR template as follows:
- PR title format (above): `package[/subpackage]: concise overview`
- PR body: Replace 'PR body starts here...' with detailed description of the change.
- category: pick one, delete the rest
- ticket: Replace #000 with link to a GitHub issue (any non-insignificant PR require an issue)
- Delete these instructions
-->
PR body starts here...

category: bug feature refactor docs test fixbuild misc
ticket: #000
23 changes: 18 additions & 5 deletions docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,20 @@ instead of opening a public issue or PR on GitHub.

Feel free to fork the Charon repo and submit a pull request with your suggested changes.

Please include a PR description mentioning everything important (according to your best judgement).
You will then need to sign our Contributor License Agreement (CLA), which will show up as a comment
from a bot in this pull request after you open it. We cannot review code without a signed CLA.

As mentioned above, please file an associated issue if this pull request is non-trivial and
requires context for our team to understand. All features and most bug fixes should have
an associated issue with a design discussed and decided upon. Small bug fixes and documentation
improvements don't need issues.

New features and bug fixes must have tests. Documentation may need to be updated. If you're
unsure what to update, open the PR, and we'll discuss during review.

Note that PRs updating dependencies and new Go versions are not accepted. Please file an issue instead.

> TL;DR: Open an Issue with details and motivation behind a PR.
### Core Dev Contributions

Expand Down Expand Up @@ -68,18 +81,18 @@ Please include a PR description mentioning everything important (according to yo
- Start with detailed description of the change.
- Description should use proper grammar in present tense.
- Ends with a list of tags (some required, others optional) (`^tag: value of this tag\n`):
- `ticket`: required; URL of the Github issue just a reference, E.g. `#123` or `none`.
- `category`: required; one of: `refactor`, `bug`, `feature`, `docs`, `release`, `tidy`, `fixbuild`.
- `release`: optional; identifies the highest release environment/network targeted by the change; `devnet`, `testnet`, `mainnet`, `none`
- `ticket`: required; URL of the Github issue just a reference, E.g. `#123` or `none`.
- `phase`: optional; identifies the highest release cycle phase targeted by the change; `aplha`, `beta`, `gold`
- Example:
```
runner/tracer: add jaeger otel exporter
Adds the jaeger exporter to our opentelemetery infra.
ticket: https://obol.atlassian.net/browse/OBOL-206
category: feature
release: mainnet
ticket: #206
phase: gold
```

### Dev tools, git hooks and linters.
Expand Down

0 comments on commit 5ccff33

Please sign in to comment.