ci(issue-labeler): have a single regexp per label to make it work

This commit is contained in:
Andrey Nering
2025-08-01 17:13:54 -03:00
parent c84d166b2f
commit 822a050e90
2 changed files with 6 additions and 11 deletions

15
.github/labeler.yml vendored
View File

@@ -7,8 +7,7 @@
"area: mcp":
- "/mcp/i"
"area: mouse":
- "/mouse/i"
- "/scroll/i"
- "/(mouse|scroll)/i"
"area: permissions":
- "/permission/i"
"area: session":
@@ -20,15 +19,13 @@
"os: linux":
- "/linux/i"
"os: macos":
- "/macos/i"
- "/(macos|osx)/i"
"os: windows":
- "/windows/i"
"provider: anthropic claude":
- "/anthropic/i"
- "/claude/i"
- "/(anthropic|claude)/i"
"provider: aws bedrock":
- "/aws/i"
- "/bedrock/i"
- "/(aws|bedrock)/i"
"provider: google gemini":
- "/gemini/i"
"provider: google vertex":
@@ -38,10 +35,8 @@
"provider: kimi":
- "/kimi/i"
"provider: ollama":
- "/ollama/i"
- "/llama/i"
"provider: openai chatgpt":
- "/openai/i"
- "/gpt/i"
- "/(openai|gpt)/i"
"provider: openrouter":
- "/openrouter/i"

View File

@@ -25,6 +25,6 @@ jobs:
configuration-path: .github/labeler.yml
enable-versioned-regex: 0
include-title: 1
include-body: 1
include-body: 0
repo-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
issue-number: ${{ github.event.inputs.issue-number || github.event.issue.number || github.event.pull_request.number }}