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:
Nathan Weinberg 2025-02-03 14:17:30 -05:00
parent 3922999118
commit 14ea403ba6
2 changed files with 18 additions and 0 deletions

4
.github/labeler.yml vendored Normal file
View file

@ -0,0 +1,4 @@
documentation:
- changed-files:
- any-glob-to-any-file:
- "*.md"

14
.github/workflows/label.yml vendored Normal file
View 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