From 202c9fd2026062137fe6c9df9946d13f10a4763f Mon Sep 17 00:00:00 2001 From: tarilabs Date: Thu, 5 Sep 2024 09:46:22 +0200 Subject: [PATCH 1/2] gha: PR labelers 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..9b8195b --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,12 @@ +name: "Pull Request Labeler" +on: +- pull_request + +jobs: + labeler: + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v5 From 9c9f9b2e87868969e8e74d193676cd7697fe7104 Mon Sep 17 00:00:00 2001 From: tarilabs Date: Wed, 25 Sep 2024 10:40:53 +0200 Subject: [PATCH 2/2] align to doc blueprint Signed-off-by: tarilabs --- .github/workflows/labeler.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 9b8195b..44c5b00 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -1,7 +1,7 @@ name: "Pull Request Labeler" on: -- pull_request - + - pull_request_target + jobs: labeler: permissions: