Skip to content

Commit

Permalink
chore: 馃Р automatically labelling pr base on file paths
Browse files Browse the repository at this point in the history
  • Loading branch information
bubkoo committed Dec 10, 2019
1 parent 011bffc commit 1acc497
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows-config/pr-label-file-paths.yml
@@ -0,0 +1,6 @@
# https://github.com/actions/labeler

pkg:x6:
- packages/x6/**/*
pkg:x6-components:
- packages/x6-components/**/*
10 changes: 10 additions & 0 deletions .github/workflows/pr-label-file-paths.yml
@@ -0,0 +1,10 @@
name: Label(File Paths)
on: pull_request
jobs:
label:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/workflows-config/pr-label-file-paths.yml

0 comments on commit 1acc497

Please sign in to comment.