From 2b91093d46a0f997fc23f18281932fddf80dcdf6 Mon Sep 17 00:00:00 2001 From: "Hung-Han (Henry) Chen" <1474479+chenhunghan@users.noreply.github.com> Date: Mon, 2 Nov 2020 19:50:01 +0800 Subject: [PATCH] Add labler github action for auto labeling of PRs Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com> --- .github/labeler-config.yml | 13 +++++++++++++ .github/workflows/labeler.yml | 14 ++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 .github/labeler-config.yml create mode 100644 .github/workflows/labeler.yml diff --git a/.github/labeler-config.yml b/.github/labeler-config.yml new file mode 100644 index 0000000000..e0bbf85535 --- /dev/null +++ b/.github/labeler-config.yml @@ -0,0 +1,13 @@ +--- +area/ui: + - src/renderer/**/* +area/test: + - integration/**/* + - __mocks__/**/* +area/extension: + - extensions/**/* + - src/extensions/**/* +area/documentation: + - READEME.md +dependencies: + - yarn.lock diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000000..aed00b3de2 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,14 @@ +--- +name: "Pull Request Labeler" + +'on': + - pull_request + +jobs: + triage: + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v2 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" + configuration-path: .github/labeler-config.yml