From 407d466aaf7dc79cd1c2bd250c017573b9629e17 Mon Sep 17 00:00:00 2001 From: Chris Chinchilla Date: Mon, 15 Sep 2025 14:02:04 +0200 Subject: [PATCH] chore: Add labeler action and documentation config (#38704) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add labeler action and documentation config * Update .github/labeler.yml Co-authored-by: Raúl Barroso --------- Co-authored-by: Raúl Barroso --- .github/labeler.yml | 5 +++++ .github/workflows/label_prs.yml | 13 +++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/label_prs.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 00000000000..be2f10f17c8 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,5 @@ +# Add 'documentation' to any change in apps/docs +# https://github.com/marketplace/actions/labeler +documentation: +- changed-files: + - any-glob-to-any-file: 'apps/docs/**/*' diff --git a/.github/workflows/label_prs.yml b/.github/workflows/label_prs.yml new file mode 100644 index 00000000000..13c4f868a8e --- /dev/null +++ b/.github/workflows/label_prs.yml @@ -0,0 +1,13 @@ +name: 'Pull Request Labeler' +on: + - pull_request_target + +jobs: + labeler: + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/labeler@v6