mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-07 02:58:21 +00:00
ci: add "Pull Request Labeler" GitHub Action
introduces the concept of a PR labeler to llama-stack github repo. only documentation PRs implemented in this commit. Signed-off-by: Nathan Weinberg <nweinber@redhat.com>
This commit is contained in:
parent
3922999118
commit
14ea403ba6
2 changed files with 18 additions and 0 deletions
4
.github/labeler.yml
vendored
Normal file
4
.github/labeler.yml
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
documentation:
|
||||
- changed-files:
|
||||
- any-glob-to-any-file:
|
||||
- "*.md"
|
14
.github/workflows/label.yml
vendored
Normal file
14
.github/workflows/label.yml
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
name: Pull Request Labeler
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
|
||||
jobs:
|
||||
labeler:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
steps:
|
||||
- name: Labeler Action
|
||||
uses: actions/labeler@v5
|
Loading…
Add table
Add a link
Reference in a new issue