From bc408fd7652bc661f6a5605e1c28afad1457d0ae Mon Sep 17 00:00:00 2001 From: Theodore Chang Date: Wed, 27 May 2020 05:27:39 -0400 Subject: [PATCH] Creating Labeler for Compute Updates (#9554) * Create label.yml * Create pr-labeler.yml * Update pr-labeler.yml * Update pr-labeler.yml * Rename pr-labeler.yml to labeler.yml * Update and rename label.yml to labelr.yml * Update labeler.yml * Update labelr.yml * Rename labelr.yml to labeler.yml * Update labeler.yml * Update labeler.yml * Update labeler.yml * Update labeler.yml * Update labeler.yml * Update labeler.yml * labeler for compute update * Update labeler.yml * Rename labeler.yml to ComputeReviewLabeler.yml * Update and rename labeler.yml to computeReviewLabeler.yml * Rename ComputeReviewLabeler.yml to computeReviewLabeler.yml * Update CODEOWNERS --- .github/computeReviewLabeler.yml | 3 +++ .github/workflows/computeReviewLabeler.yml | 12 ++++++++++++ CODEOWNERS | 2 ++ 3 files changed, 17 insertions(+) create mode 100644 .github/computeReviewLabeler.yml create mode 100644 .github/workflows/computeReviewLabeler.yml 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