1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Add labler github action for auto labeling of PRs

Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
This commit is contained in:
Hung-Han (Henry) Chen 2020-11-02 19:50:01 +08:00
parent c7f77a01f9
commit 2b91093d46
No known key found for this signature in database
GPG Key ID: 32931168425E1C95
2 changed files with 27 additions and 0 deletions

13
.github/labeler-config.yml vendored Normal file
View File

@ -0,0 +1,13 @@
---
area/ui:
- src/renderer/**/*
area/test:
- integration/**/*
- __mocks__/**/*
area/extension:
- extensions/**/*
- src/extensions/**/*
area/documentation:
- READEME.md
dependencies:
- yarn.lock

14
.github/workflows/labeler.yml vendored Normal file
View File

@ -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