Skip to content

Commit

Permalink
Adds automatic labeler (#67)
Browse files Browse the repository at this point in the history
* Adds label workflow

* Adds labels matching
  • Loading branch information
mikaelbr authored Sep 17, 2019
1 parent b74ed42 commit fac509e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
text:
- src/pages/*.md

code:
- src/**/*.{js,html,css}

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

jobs:
label:

runs-on: ubuntu-latest

steps:
- uses: actions/labeler@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit fac509e

Please sign in to comment.