diff --git a/.github/computeReviewLabeler.yml b/.github/computeReviewLabeler.yml new file mode 100644 index 000000000000..131556674c2c --- /dev/null +++ b/.github/computeReviewLabeler.yml @@ -0,0 +1,3 @@ +computeReview: +- 'specification/compute/*' +- 'specification/compute/**/*' diff --git a/.github/workflows/computeReviewLabeler.yml b/.github/workflows/computeReviewLabeler.yml new file mode 100644 index 000000000000..67c75fdaf6de --- /dev/null +++ b/.github/workflows/computeReviewLabeler.yml @@ -0,0 +1,12 @@ +name: Compute Labeler +on: +- pull_request + +jobs: + label: + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v2 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" + configuration-path: .github/computeReviewLabeler.yml diff --git a/CODEOWNERS b/CODEOWNERS index dee3983a317b..d81b5416321b 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -76,3 +76,5 @@ /specification/trafficmanager/ @allencal @hrkulkarmsft /specification/web/ @lukaszstem @naveedaz @nking92 /profile/ @shahabhijeet +/.github/computeReviewLabeler.yml @grizzlytheodore +/.github/workflows/computeReviewLabeler.yml @grizzlytheodore