Skip to content

Commit

Permalink
Add automatic labeling for PRs (#768)
Browse files Browse the repository at this point in the history
* Add automatic labeling for PRs

* Add labeler.yml
  • Loading branch information
rytilahti authored Jul 18, 2020
1 parent 0456f1d commit 0ca105d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
documentation:
- docs/*

tests:
- miio/tests/*
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

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 0ca105d

Please sign in to comment.