Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce commit message template and PR template #193

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
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
14 changes: 14 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
## Description

## GitHub issue

Fixes #<issue_number>

## How to test this?

## Checklist

- [ ] My code follows the guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
5 changes: 5 additions & 0 deletions .gitmessage
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
feat|fix: <title>

<body>

Signed-off-by: <your_name> <your_email>
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"start": "next start",
"lint": "next lint",
"format:fix": "yarn prettier . --write",
"format:check": "yarn prettier . --check"
"format:check": "yarn prettier . --check",
"postinstall": "git config commit.template .gitmessage"
},
"dependencies": {
"@carbon/react": "^1.66.0",
Expand Down