feat: Adding Github Templates for Issues and PRs#732
Merged
Conversation
Signed-off-by: NucleoFusion <lakshit.singh.mail@gmail.com>
Signed-off-by: NucleoFusion <lakshit.singh.mail@gmail.com>
Signed-off-by: NucleoFusion <lakshit.singh.mail@gmail.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #732 +/- ##
=========================================
- Coverage 10.99% 7.45% -3.54%
=========================================
Files 173 261 +88
Lines 8671 12930 +4259
=========================================
+ Hits 953 964 +11
- Misses 7612 11857 +4245
- Partials 106 109 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Updated pull request template to include a placeholder for issue fixes. Signed-off-by: Prasanth Baskar <bupdprasanth@gmail.com>
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Issue
https://github.com/NucleoFusion/harbor-cli/issues
You can view the 3 types of issues here
Bug
Feature
Enhancement
PS: This requires a
discussionlabelPull Requests
https://github.com/NucleoFusion/harbor-cli/pulls
You can view the PR template here
Other Considerations
CODEOWNERS
The purpose of this file is to automatically request reviews from the right maintainers when a pull request changes certain parts of the codebase. Instead of manually assigning reviewers, GitHub will do it automatically based on which files were modified.
This helps ensure that:
Labeler(.yml)
The goal is to reduce manual triage work by automatically applying labels based on:
This helps maintainers quickly understand the type and scope of a contribution and keeps issue and PR organization consistent.
How It Works
A GitHub Action runs whenever an issue or pull request is created.
For pull requests, labels are applied based on the files that were modified.
Example configuration:
If a pull request modifies a file like:
GitHub will automatically apply the label:
Labeling Issues from Template Selections
Issue templates include a checklist where contributors select the type of issue.
Example:
When an issue is opened, the workflow reads the selected checkbox and automatically applies the corresponding label.
Example selection:
Result:
label applied → bug
Benefits