-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from IncPlusPlus/chore/add-pr-labeler
Add PR Labeler and a config for it
- Loading branch information
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |