-
Notifications
You must be signed in to change notification settings - Fork 7
feat: add auto-labeling and issue templates #31
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
Merged
utkarsh232005
merged 2 commits into
KDM-cli:main
from
utkarsh232005:feat/auto-labeling-templates
May 16, 2026
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| name: Bug Report | ||
| description: File a bug report to help us improve | ||
| title: "[Bug]: " | ||
| labels: ["bug", "needs triage"] | ||
| body: | ||
| - type: markdown | ||
| attributes: | ||
| value: | | ||
| Thanks for taking the time to fill out this bug report! | ||
| - type: textarea | ||
| id: description | ||
| attributes: | ||
| label: Bug Description | ||
| description: A clear and concise description of what the bug is. | ||
| placeholder: Bug description | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| id: reproduction | ||
| attributes: | ||
| label: Steps to Reproduce | ||
| description: How can we reproduce the issue? | ||
| placeholder: | | ||
| 1. Go to '...' | ||
| 2. Click on '....' | ||
| 3. Scroll down to '....' | ||
| 4. See error | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| id: expected | ||
| attributes: | ||
| label: Expected Behavior | ||
| description: What did you expect to happen? | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| id: actual | ||
| attributes: | ||
| label: Actual Behavior | ||
| description: What actually happened? | ||
| validations: | ||
| required: true | ||
| - type: input | ||
| id: environment | ||
| attributes: | ||
| label: Environment | ||
| description: OS, Node version, CLI version | ||
| placeholder: e.g., macOS 14.4, Node v20.11.1, kdm v1.0.0 | ||
| validations: | ||
| required: true |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| blank_issues_enabled: false |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| name: Feature Request | ||
| description: Suggest an idea for this project | ||
| title: "[Feature]: " | ||
| labels: ["enhancement", "needs triage"] | ||
| body: | ||
| - type: textarea | ||
| id: problem | ||
| attributes: | ||
| label: Problem Description | ||
| description: Is your feature request related to a problem? Please describe. | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| id: solution | ||
| attributes: | ||
| label: Proposed Solution | ||
| description: A clear and concise description of what you want to happen. | ||
| validations: | ||
| required: true | ||
| - type: textarea | ||
| id: alternatives | ||
| attributes: | ||
| label: Alternatives Considered | ||
| description: A clear and concise description of any alternative solutions or features you've considered. | ||
| - type: textarea | ||
| id: context | ||
| attributes: | ||
| label: Additional Context | ||
| description: Add any other context or screenshots about the feature request here. | ||
| - type: checkboxes | ||
| id: work | ||
| attributes: | ||
| label: Would you like to work on this feature? | ||
| options: | ||
| - label: Yes, I would like to work on this feature! |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| bug: | ||
| - "bug" | ||
| - "error" | ||
| - "broken" | ||
| - "fix" | ||
| - "crash" | ||
| - "not working" | ||
|
|
||
| enhancement: | ||
| - "feature" | ||
| - "request" | ||
| - "add" | ||
| - "new" | ||
| - "improve" | ||
| - "enhancement" | ||
|
|
||
| good first issue: | ||
| - "first timer" | ||
| - "beginner" | ||
| - "easy" | ||
| - "starter" | ||
|
|
||
| needs triage: | ||
| - '*' |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| documentation: | ||
| - changed-files: | ||
| - any-glob-to-any-file: | ||
| - 'docs/**/*' | ||
| - '**/*.md' | ||
|
|
||
| frontend: | ||
| - changed-files: | ||
| - any-glob-to-any-file: | ||
| - 'src/**/*' | ||
| - 'public/**/*' | ||
|
|
||
| ci/cd: | ||
| - changed-files: | ||
| - any-glob-to-any-file: | ||
| - '.github/workflows/**/*' | ||
|
|
||
| tests: | ||
| - changed-files: | ||
| - any-glob-to-any-file: ['src/__tests__/**'] | ||
|
|
||
| docker: | ||
| - changed-files: | ||
| - any-glob-to-any-file: ['src/docker/**'] | ||
|
|
||
| kubernetes: | ||
| - changed-files: | ||
| - any-glob-to-any-file: ['src/kubernetes/**', 'src/minikube/**'] | ||
|
|
||
| ui: | ||
| - changed-files: | ||
| - any-glob-to-any-file: ['src/ui/**'] | ||
|
|
||
| commands: | ||
| - changed-files: | ||
| - any-glob-to-any-file: ['src/commands/**'] | ||
|
|
||
| build: | ||
| - changed-files: | ||
| - any-glob-to-any-file: ['package.json', 'package-lock.json', 'tsconfig.json'] |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| name: "Issue Labeler" | ||
| on: | ||
| issues: | ||
| types: [opened] | ||
|
|
||
| permissions: | ||
| issues: write | ||
| contents: read | ||
|
|
||
| jobs: | ||
| label: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: github/issue-labeler@c1b0f9f52a63158c4adc09425e858e87b32e9685 # v3.4 | ||
| with: | ||
| repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
| configuration-path: ".github/issue-labeler.yml" | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| name: "Pull Request Labeler" | ||
| on: | ||
| # Safe to use pull_request_target: no code checkout, API-only labeler, minimal permissions | ||
| pull_request_target: | ||
| types: [opened, synchronize, reopened] | ||
|
coderabbitai[bot] marked this conversation as resolved.
|
||
|
|
||
| permissions: | ||
| contents: read | ||
| pull-requests: write | ||
|
|
||
| jobs: | ||
| label: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0 | ||
| with: | ||
| repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
| configuration-path: ".github/labeler.yml" | ||
|
coderabbitai[bot] marked this conversation as resolved.
|
||
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.