mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-21 13:04:18 +02:00
Add labeler
This commit is contained in:
parent
a31b423358
commit
76ca57a04d
2 changed files with 41 additions and 0 deletions
29
.github/labeler.yml
vendored
Normal file
29
.github/labeler.yml
vendored
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
documentation:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file: "docs/**"
|
||||
|
||||
example:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- "examples/**"
|
||||
|
||||
tests:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file: "tests/**"
|
||||
|
||||
"component: HTTP":
|
||||
- changed-files:
|
||||
- any-glob-to-any-file: "src/fastmcp/server/http.py"
|
||||
|
||||
"component: client":
|
||||
- changed-files:
|
||||
- any-glob-to-any-file: "src/fastmcp/client/**"
|
||||
|
||||
"contrib":
|
||||
- changed-files:
|
||||
- any-glob-to-any-file: "src/fastmcp/contrib/**"
|
||||
|
||||
"component: openapi":
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- "src/**/*openapi*.py"
|
||||
12
.github/workflows/labeler.yml
vendored
Normal file
12
.github/workflows/labeler.yml
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
name: "Pull Request Labeler"
|
||||
on:
|
||||
- pull_request_target
|
||||
|
||||
jobs:
|
||||
labeler:
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/labeler@v5
|
||||
Loading…
Add table
Add a link
Reference in a new issue