Skip to content

Commit

Permalink
👷 [github] Add PR labeler workflow (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
cjolowicz committed Dec 8, 2021
1 parent 70f70d7 commit 328742d
Show file tree
Hide file tree
Showing 2 changed files with 24 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 @@
breaking: "breaking/*"
bug: ["bug/*", "fix/*"]
build: "build/*"
ci: "ci/*"
dependencies: ["dependencies/*", "deps/*"]
documentation: ["documentation/*", "docs/*"]
enhancement: ["enhancement/*", "feature/*", "feat/*"]
performance: ["performance/*", "perf/*"]
refactoring: ["refactoring/*", "refactor/*"]
removal: ["removal/*", "remove/*"]
style: ["style/*"]
testing: ["testing/*", "test/*"]
12 changes: 12 additions & 0 deletions .github/workflows/pr-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: PR Labeler
on:
pull_request_target:
types: [opened]

jobs:
pr-labeler:
runs-on: ubuntu-latest
steps:
- uses: TimonVS/pr-labeler-action@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 328742d

Please sign in to comment.