Skip to content

Commit

Permalink
CI: fix labeler cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
boozook committed Mar 4, 2024
1 parent 0cf6001 commit d62441b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
18 changes: 8 additions & 10 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,25 @@
api:
- changed-files:
- any:
- any-glob-to-any-file:
- "api/**"
- "components/**"

pre-built bindings:
- changed-files:
- any:
- "api/gen/*"
- any:
- changed-files:
- any-glob-to-any-file: "api/gen/*"
- head-branch: api/sys/pre-build/.*

cargo:
- changed-files:
- any:
- "cargo/**"
- any-glob-to-any-file: "cargo/**"

bindgen:
- changed-files:
- any:
- any-glob-to-any-file:
- "support/bindgen/**"
- "support/bindgen-cfg/**"

docs:
- changed-files:
- any:
- any-glob-to-any-file:
- "**/*.md"
- "**/*.txt"
8 changes: 7 additions & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: "Labels"
on:
pull_request_target:
workflow_dispatch:
inputs:
pr:
description: The pull request number(s).
type: string
required: false

jobs:
triage:
Expand All @@ -13,4 +19,4 @@ jobs:
- uses: actions/[email protected]
with:
sync-labels: true
# dot: false
pr-number: ${{ github.event.inputs.pr || '' }}

0 comments on commit d62441b

Please sign in to comment.