From 81ff1e69f3e54bd336b57d8248fb22254fdcf78a Mon Sep 17 00:00:00 2001 From: Matteo Mortari Date: Wed, 25 Sep 2024 10:45:32 +0200 Subject: [PATCH] gha: PR labelers (#15) * gha: PR labelers Signed-off-by: tarilabs * align to doc blueprint Signed-off-by: tarilabs --------- Signed-off-by: tarilabs --- .github/labeler.yml | 15 +++++++++++++++ .github/workflows/labeler.yml | 12 ++++++++++++ 2 files changed, 27 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 0000000..dcbaa91 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,15 @@ +Area/Docs and website: +- changed-files: + - any-glob-to-any-file: docs/** + +Area/End to End: +- changed-files: + - any-glob-to-any-file: e2e/** + +Area/Core: +- changed-files: + - any-glob-to-any-file: omlmd/** + +Area/GitHub CI and repo maintenance: +- 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 0000000..44c5b00 --- /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