Skip to content

Commit

Permalink
Add PR label action
Browse files Browse the repository at this point in the history
  • Loading branch information
zjwhitehead committed Apr 3, 2022
1 parent 10e889f commit 373a549
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/pr-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
feature:
- 'feature/*'
enhancement:
- 'improvement/*'
- 'improve/*'
- 'enhancement/*'
- 'enhance/*'
fix:
- 'fix/*'
- 'bug/*'
- 'bugfix/*'
- 'hotfix/*'
- 'hot-fix/*'
tech-debt:
- 'techdebt/*'
- 'refactor/*'
maintenance:
- 'chore/*'
- 'cleanup/*'
- 'maint/*'
- 'maintenance/*'
16 changes: 16 additions & 0 deletions .github/workflows/pr-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Pull Request 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
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 373a549

Please sign in to comment.