Skip to content

Commit

Permalink
chore: added label workflow and configuration
Browse files Browse the repository at this point in the history
zstix committed Jun 9, 2020
1 parent 116c2b3 commit 56f4a20
Showing 2 changed files with 21 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Add "enhancement" label to any PR that contains files in the src
# directory (excluding the markdown pages directory.
enhancement:
- any: ['src/**/*', '!src/markdown-pages/**/*']

# Add "documentation" label to any PR that contains files in the
# markdown-pages directory.
documentation:
- any: ['src/markdown-pages/**/*']


10 changes: 10 additions & 0 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: "Pull Request Labeler"
on: [pull_request]

jobs:
label:
runs-on: ubuntu-latest
stes:
- uses: actions/labeler@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 56f4a20

Please sign in to comment.