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