Skip to content

Commit

Permalink
Add an auto-labeler (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead authored Dec 21, 2019
1 parent 2b61d64 commit e79547c
Show file tree
Hide file tree
Showing 2 changed files with 27 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 @@
# Add '@domain/core' label to any change within the 'core' package
enhancement:
- .github

# Add 'test' label to any change to *.spec.js files within the source dir
motion:
- src/module/planner.*
- src/module/stepper.*
19 changes: 19 additions & 0 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# This workflow will triage pull requests and apply a label based on the
# paths that are modified in the pull request.
#
# To use this workflow, you will need to set up a .github/labeler.yml
# file with configuration. For more information, see:
# https://github.com/actions/labeler/blob/master/README.md

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 e79547c

Please sign in to comment.