Issues & Pull Requests
GitHub Issues and Pull Requests are the core tools for managing tasks and code changes in your projects.
Creating Issues
Section titled “Creating Issues”Issue Templates
Section titled “Issue Templates”Use the task template located in .github/ISSUE_TEMPLATE/task.md
:
---name: Taskabout: Simple task template for development worktitle: ''labels: ''assignees: ''---
# Task Details- [ ] Task detail 1- [ ] Task detail 2- [ ] Task detail 3
# Guidelines- [ ] Follow naming conventions for constants, variables, and files- [ ] Ensure code is properly formatted- [ ] Pass linter checks- [ ] Verify build command succeeds- [ ] Update documentation if needed
# Estimated DeadlineDD/MM/YYYY
Creating an Issue
Section titled “Creating an Issue”- Go to Issues tab in your repository
- Click “New Issue”
- Choose the task template
- Fill out the description and checklist
- Assign to team member
- Add relevant labels (bug, feature, documentation)
Pull Requests
Section titled “Pull Requests”PR Template
Section titled “PR Template”Your PR template in .github/PULL_REQUEST_TEMPLATE.md
:
## DescriptionBrief description of what this PR accomplishes
## Type of Change- [ ] Bug fix (non-breaking change that fixes an issue)- [ ] New feature (non-breaking change that adds functionality)- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)- [ ] Documentation update- [ ] Code refactoring
## Changes Made- Change 1: Brief description- Change 2: Brief description- Change 3: Brief description
## Code Quality- [ ] Code follows project style guidelines- [ ] Self-review of own code completed- [ ] Code is properly commented- [ ] No merge conflicts
## Related IssuesCloses #[issue number]
## Additional NotesAny additional information or context about the changes
Creating a Pull Request
Section titled “Creating a Pull Request”- Push your branch to GitHub
- Click “Compare & pull request”
- Use the PR template - it auto-fills
- Link related issues using
Closes #123
- Request reviewers
- Add appropriate labels
Linking Issues and PRs
Section titled “Linking Issues and PRs”Auto-close Issues
Section titled “Auto-close Issues”# In PR descriptionCloses #123Fixes #456Resolves #789
Reference Issues
Section titled “Reference Issues”# In commits or commentsRelated to #123See #456
Labels We Use
Section titled “Labels We Use”bug
- Something isn’t workingfeature
- New feature requestdocumentation
- Documentation improvementsgood first issue
- Good for newcomerspriority: high
- Urgent issues
Quick Workflow
Section titled “Quick Workflow”For Issues:
Section titled “For Issues:”- Create issue using template
- Assign to someone
- Add labels
- Work on it
- Close when done
For PRs:
Section titled “For PRs:”- Create branch:
yourname/feature/issue-description
- Make changes
- Push and create PR using template
- Get review
- Merge when approved
That’s it! Keep it simple and focus on getting work done. 🚀