From a6c72b0d2ce6b5a9964712d468ae40313db03670 Mon Sep 17 00:00:00 2001 From: Johan Haals Date: Wed, 15 Dec 2021 10:40:26 +0100 Subject: [PATCH] Label PRs Signed-off-by: Johan Haals --- .github/labeler.yml | 9 +++++++++ .github/workflows/label.yml | 12 ++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/label.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000000..c16064c841 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,9 @@ +catalog: + - plugins/catalog/**/* + - plugins/catalog-*/**/* +scaffolder: + - plugins/scaffolder/**/* + - plugins/scaffolder-*/**/* +search: + - plugins/search/**/* + - plugins/search-*/**/* diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml new file mode 100644 index 0000000000..0e112f97ac --- /dev/null +++ b/.github/workflows/label.yml @@ -0,0 +1,12 @@ +name: "Pull Request Labeler" +on: +- pull_request_target + +jobs: + triage: + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v3 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" + sync-labels: true