From 9990f96fd4495fb0aa19ed4cac7bce4fede8c51f Mon Sep 17 00:00:00 2001 From: leecalcote Date: Thu, 1 Dec 2022 23:15:57 -0600 Subject: [PATCH 1/2] 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 From 1b1a35c701fb6d26c35b18b12c5c7e45e4e6fac8 Mon Sep 17 00:00:00 2001 From: Nikhil-Ladha Date: Fri, 2 Dec 2022 13:30:54 +0530 Subject: [PATCH 2/2] Add some more file paths, labels to the config Signed-off-by: Nikhil-Ladha --- .github/labeler.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index cdb596925148..67e81fab5a23 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -7,14 +7,19 @@ area/ci: area/blog: - "src/collections/blog/**/*" - "src/pages/blog/**/*" + - "src/templates/blog-*.js" area/careers: - "src/collections/careers/**/*" - "src/collections/programs/**/*" + - "src/templates/career-*.js" + - "src/pages/careers/*" area/community: - "src/collections/members/**/*" - "src/pages/community/**/*" + - "src/templates/member-*.js" area/events: - "src/collections/events/**/*" + - "src/templates/event*.js" area/handbook: - "src/components/HandbookCard/**/*" - "src/components/Handbook-navigation/**/*" @@ -28,12 +33,26 @@ area/learn: - "src/collections/service-mesh-books/**/*" - "src/collections/service-mesh-learn/**/*" - "src/collections/service-mesh-workshops/**/*" + - "src/templates/book-*.js" + - "src/templates/course-*.js" + - "src/templates/lab-*.js" + - "src/templates/learn-*.js" + - "src/templates/workshop-*.js" area/news: - "src/collections/news/**/*" + - "src/templates/news-*.js" area/partners: - "src/collections/partners/**/*" area/resources: - "src/collections/resources/**/*" + - "src/templates/resource-*.js" area/projects: - "src/collections/projects/**/*" - - "src/pages/projects/**/*" \ No newline at end of file + - "src/pages/projects/**/*" +area/core-styls: + - "src/sections/app.style.js" + - "src/theme/app/*" +area/site-config: + - "gatsby-*.js" +area/packages: + - "package-*.js" \ No newline at end of file