grafana/Check Issue Label
Given a github issue for a github repository, checks if the issue is triageable and if so, adds the area and type labels to the issue.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | GitHub token to access the issue information | yes | — |
| issue_number | The number of the issue to check | yes | — |
| openai_api_key | OpenAI API key to use for the triager | yes | — |
| add_labels | Add the labels to the issue | no | false |
| labels_file | Labels file. One label per line | no | fixtures/categoryLabels.txt |
| types_file | Types file. One label per line | no | fixtures/typeLabels.txt |
| prompt_file | Prompt to use for the categorizer | no | fixtures/prompt.txt |
Outputs
| name | description |
|---|---|
| triage_labels | The labels of the issue |