Skip to content

Commit

Permalink
Merge pull request #4 from IncPlusPlus/chore/add-pr-labeler
Browse files Browse the repository at this point in the history
Add PR Labeler and a config for it
  • Loading branch information
IncPlusPlus authored Dec 12, 2020
2 parents a3943d5 + 4283070 commit e5f62b2
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/pr-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
feature: [ 'feature/*', 'feat/*' ]
bug: [ 'bug/*', 'fix/*', 'bugfix/*' ]
chore: [ 'chore/*', 'maintenance/*' ]
hotfix: hotfix/*
🛠 Improvement: improvement/*


# THE ITEMS BELOW ARE UNUSED FOR THIS REPO. I'm keeping them around just in case I split the workflow into a development branch.
# Add a label for release-drafter to ignore this commit as it is probably just being used to get main/develop up to speed with the other
ignore-develop-sync: main
# Add a label for release-drafter to ignore this commit as it is probably just being used to get main/develop up to speed with the other
ignore-main-sync: develop
14 changes: 14 additions & 0 deletions .github/workflows/pr-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: PR Labeler
on:
pull_request:
types: [ opened ]

jobs:
pr-labeler:
runs-on: ubuntu-latest
steps:
- uses: TimonVS/pr-labeler-action@v3
with:
configuration-path: .github/pr-labeler.yml # optional, .github/pr-labeler.yml is the default value
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit e5f62b2

Please sign in to comment.