From 22dea5ced74d4e4cf9273df3c72a2c1ada4ee712 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Tamarelle?= Date: Thu, 23 May 2024 11:11:39 +0200 Subject: [PATCH] Automatically label docs PR --- .github/labeler.yml | 7 +++++++ .github/workflows/labeler.yml | 12 ++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/labeler.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 000000000..d0a7bb123 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,7 @@ +# https://github.com/actions/labeler +docs: + - changed-files: + - any-glob-to-any-file: 'docs/**' +github: + - changed-files: + - any-glob-to-any-file: '.github/**' diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 000000000..52474c6a6 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -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