From 9990f96fd4495fb0aa19ed4cac7bce4fede8c51f Mon Sep 17 00:00:00 2001 From: leecalcote Date: Thu, 1 Dec 2022 23:15:57 -0600 Subject: [PATCH] pr labeler Signed-off-by: leecalcote --- .github/labeler.yml | 39 +++++++++++++++++++++++++++++++++++ .github/workflows/labeler.yml | 14 +++++++++++++ 2 files changed, 53 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 000000000000..cdb596925148 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,39 @@ +area/docs: + - "readme.md" + - "contributing.md" +area/ci: + - ".github/**/*" + - ".husky/**/*" +area/blog: + - "src/collections/blog/**/*" + - "src/pages/blog/**/*" +area/careers: + - "src/collections/careers/**/*" + - "src/collections/programs/**/*" +area/community: + - "src/collections/members/**/*" + - "src/pages/community/**/*" +area/events: + - "src/collections/events/**/*" +area/handbook: + - "src/components/HandbookCard/**/*" + - "src/components/Handbook-navigation/**/*" +area/landscape: + - "src/sections/Landscape/**/*" + - "src/components/Landscape-Table/**/*" + - "src/collections/landscape/**/*" +area/learn: + - "content-learn" + - "src/components/Learn-Components/**/*" + - "src/collections/service-mesh-books/**/*" + - "src/collections/service-mesh-learn/**/*" + - "src/collections/service-mesh-workshops/**/*" +area/news: + - "src/collections/news/**/*" +area/partners: + - "src/collections/partners/**/*" +area/resources: + - "src/collections/resources/**/*" +area/projects: + - "src/collections/projects/**/*" + - "src/pages/projects/**/*" \ No newline at end of file diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 000000000000..680f9d187a3b --- /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-latest + steps: + - uses: actions/labeler@v4 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" \ No newline at end of file