From d40fd322d0bf6778dc01142bde81d3c4349f574f Mon Sep 17 00:00:00 2001 From: Artak <34246760+mkArtakMSFT@users.noreply.github.com> Date: Tue, 15 Oct 2019 13:24:08 -0700 Subject: [PATCH] Enabling PR auto-labeling (#15020) * Create labeler.yml Creating the initial label mappings * Adding the auto-labeler workflow --- .github/labeler.yml | 6 ++++++ .github/workflows/labeler.yml | 11 +++++++++++ 2 files changed, 17 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 0000000000..b0a402f291 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,6 @@ +area-mvc: + - src/ProjectTemplates/**/* + - src/Razor/**/* + +area-blazor: + - src/Components/**/* diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000000..dcafb97dc9 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,11 @@ +name: "Pull Request Labeler" +on: +- pull_request + +jobs: + triage: + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v2 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}"