Skip to content

Commit

Permalink
Merge pull request #1033 from carapace-sh/issue-label-policy
Browse files Browse the repository at this point in the history
added label policy
  • Loading branch information
rsteube authored Jul 21, 2024
2 parents 98290b6 + d634873 commit 9cf70de
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 13 deletions.
24 changes: 12 additions & 12 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,24 +38,24 @@ body:
label: OS
description: Operating System where this occured.
options:
- label: linux
- label: darwin
- label: termux
- label: windows
- label: Linux
- label: Darwin
- label: Termux
- label: Windows
- type: checkboxes
id: shell
attributes:
label: Shell
description: Shell where this occured.
options:
- label: bash
- label: elvish
- label: fish
- label: nushell
- label: oil
- label: powershell
- label: xonsh
- label: zsh
- label: Bash
- label: Elvish
- label: Fish
- label: Nushell
- label: Oil
- label: Powershell
- label: Xonsh
- label: Zsh
- type: textarea
attributes:
label: Anything else?
Expand Down
35 changes: 35 additions & 0 deletions .github/advanced-issue-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# syntax - https://github.com/redhat-plumbers-in-action/advanced-issue-labeler#policy
---
policy:
- section:
- id: ["os"]
label:
- name: "ver: 1.6.x"
keys: ["v1_6", "v1.6", "1.6.x"]
- name: linux
keys: ["Linux"]
- name: darwin
keys: ["Darwin"]
- name: termux
keys: ["Termux"]
- name: windows
keys: ["Windows"]

- id: ["shell"]
label:
- name: bash
keys: ["Bash"]
- name: elvish
keys: ["Elvish"]
- name: fish
keys: ["Fish"]
- name: nushell
keys: ["Nushell"]
- name: oil
keys: ["Oil"]
- name: powershell
keys: ["Powershell"]
- name: xonsh
keys: ["Xonsh"]
- name: zsh
keys: ["Zsh"]
2 changes: 1 addition & 1 deletion .github/workflows/issue-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
with:
template-path: .github/ISSUE_TEMPLATE/bug_report.yaml

- name: Set labels based on severity field
- name: Set issue labels
uses: redhat-plumbers-in-action/advanced-issue-labeler@v3
with:
issue-form: ${{ steps.issue-parser.outputs.jsonString }}
Expand Down

0 comments on commit 9cf70de

Please sign in to comment.