mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-05 15:32:53 +00:00
added labeler
This commit is contained in:
parent
dab7b7e80a
commit
08dda772ec
2
.github/ISSUE_TEMPLATE/bug_report.yaml
vendored
2
.github/ISSUE_TEMPLATE/bug_report.yaml
vendored
@ -37,8 +37,8 @@ body:
|
||||
label: OS
|
||||
description: Operating System where this occured.
|
||||
options:
|
||||
- label: Darwin
|
||||
- label: Linux
|
||||
- label: OSX
|
||||
- label: Termux
|
||||
- label: Windows
|
||||
- type: checkboxes
|
||||
|
35
.github/advanced-issue-labeler.yml
vendored
Normal file
35
.github/advanced-issue-labeler.yml
vendored
Normal file
@ -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"]
|
29
.github/workflows/issue-labeler.yml
vendored
Normal file
29
.github/workflows/issue-labeler.yml
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
name: Label Issues
|
||||
on:
|
||||
issues:
|
||||
types: [opened, edited]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
label-component:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
permissions:
|
||||
issues: write
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Parse issue form
|
||||
uses: stefanbuck/github-issue-parser@v3
|
||||
id: issue-parser
|
||||
with:
|
||||
template-path: .github/ISSUE_TEMPLATE/bug_report.yaml
|
||||
|
||||
- name: Set issue labels
|
||||
uses: redhat-plumbers-in-action/advanced-issue-labeler@v3
|
||||
with:
|
||||
issue-form: ${{ steps.issue-parser.outputs.jsonString }}
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
x
Reference in New Issue
Block a user