From 14ea403ba62ad276d2dd3ecdbc40dcf11330e9bc Mon Sep 17 00:00:00 2001 From: Nathan Weinberg Date: Mon, 3 Feb 2025 14:17:30 -0500 Subject: [PATCH] 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 --- .github/labeler.yml | 4 ++++ .github/workflows/label.yml | 14 ++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/label.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 000000000..f7ee24c2d --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,4 @@ +documentation: + - changed-files: + - any-glob-to-any-file: + - "*.md" diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml new file mode 100644 index 000000000..296c42456 --- /dev/null +++ b/.github/workflows/label.yml @@ -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