Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PR Labeler and a config for it #4

Merged
merged 1 commit into from
Dec 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 }}