From 73e64222689f334a1293b8e5deb08d0f07900d2b Mon Sep 17 00:00:00 2001 From: Archit Sharma Date: Wed, 28 Feb 2024 23:32:16 +0530 Subject: [PATCH] Cloud and meshmap label workflow added Signed-off-by: Archit Sharma --- .github/labeler.yml | 6 ++++++ .github/workflows/labeler.yml | 14 ++++++++++++++ 2 files changed, 20 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 00000000..67be81e8 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,6 @@ + +component/cloud-docs: + - "content/en/cloud/**/*" + +component/meshmap-docs: + - "content/en/meshmap/**/*" diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 00000000..e1514ee0 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,14 @@ +name: "Pull Request Labeler" +on: +- pull_request_target + +jobs: + triage: + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-22.04 + steps: + - uses: actions/labeler@v4 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}"