From a06394d864627c3bf08d5986e79fdcdc485c65f5 Mon Sep 17 00:00:00 2001 From: Matt Rosno Date: Mon, 16 Dec 2019 15:16:11 -0600 Subject: [PATCH 1/3] chore: add GH action to auto-label the system squad --- .github/labeler.yml | 2 ++ .github/workflows/labeler.yml | 12 ++++++++++++ 2 files changed, 14 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..1c5fd2fac27a --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,2 @@ +"squad: system": + - **/* diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 000000000000..d823dc6e7594 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,12 @@ +name: 'Label pull request' + +on: + - pull_request + +jobs: + triage: + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v2 + with: + repo-token: '${{ secrets.GITHUB_TOKEN }}' From 8f1d68387c28f98064e4394853efba2159886a53 Mon Sep 17 00:00:00 2001 From: Matt Rosno Date: Mon, 16 Dec 2019 15:20:04 -0600 Subject: [PATCH 2/3] chore: try new global glob in labeler --- .github/labeler.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 1c5fd2fac27a..c2a64d4ac783 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,2 +1,2 @@ "squad: system": - - **/* + - ** From bc89819a1ed2ea76f38a39722f463b1595ae5d87 Mon Sep 17 00:00:00 2001 From: Matt Rosno Date: Mon, 16 Dec 2019 15:22:26 -0600 Subject: [PATCH 3/3] chore: try another global glob for labeler action --- .github/labeler.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index c2a64d4ac783..8c6fa1bbd080 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,2 +1,2 @@ -"squad: system": - - ** +'squad: system': + - ./**/*