ci: add action to automate issue / pr labeling (#470)
commit984f276a31294620ccaac24ca0ebbb2e20be3bec
authorAndrey Nering <andreynering@users.noreply.github.com>
dateFri 1 Aug 2025, 16:09 (1 year ago)
parent0e52ccd
.github/labeler.ymlnew file+41
@@ -0,0 +1,41 @@
1+"area: diff":
2+ - "/diff/i"
3+"area: images":
4+ - "/image/i"
5+"area: lsp":
6+ - "/lsp/i"
7+"area: mcp":
8+ - "/mcp/i"
9+"area: mouse":
10+ - "/mouse/i"
11+ - "/scroll/i"
12+"area: permissions":
13+ - "/permission/i"
14+"area: session":
15+ - "/session/i"
16+"area: themes":
17+ - "/theme/i"
18+"area: tools":
19+ - "/tool/i"
20+"provider: anthropic / claude":
21+ - "/anthropic/i"
22+ - "/claude/i"
23+"provider: aws bedrock":
24+ - "/aws/i"
25+ - "/bedrock/i"
26+"provider: google gemini":
27+ - "/gemini/i"
28+"provider: google vertex":
29+ - "/vertex/i"
30+"provider: grok":
31+ - "/grok/i"
32+"provider: kimi":
33+ - "/kimi/i"
34+"provider: ollama":
35+ - "/ollama/i"
36+ - "/llama/i"
37+"provider: openai / chatpgt":
38+ - "/openai/i"
39+ - "/gpt/i"
40+"provider: openrouter":
41+ - "/openrouter/i"
.github/workflows/issue-labeler.ymlnew file+22
@@ -0,0 +1,22 @@
1+name: Issue Labeler
2+
3+on:
4+ issues:
5+ types: [opened]
6+ pull_request:
7+ types: [opened]
8+
9+permissions:
10+ issues: write
11+ contents: read
12+
13+jobs:
14+ triage:
15+ runs-on: ubuntu-latest
16+ steps:
17+ - uses: github/issue-labeler@v3.4
18+ with:
19+ configuration-path: .github/labeler.yml
20+ enable-versioned-regex: 0
21+ include-title: 1
22+ repo-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}