ci: Using appsmith's fork of labeler for minor enhancement & easier config (#7177)
Now we can add multiple title regexes for a PR and the labeler will automatically tag the PR with the appropriate labels. This will be useful when generated the release notes in a categorized fashion.
This commit is contained in:
parent
e7b95d2fd9
commit
07caedb7e5
21
.github/labeler.yml
vendored
21
.github/labeler.yml
vendored
|
|
@ -1,12 +1,21 @@
|
|||
version: 1
|
||||
labels:
|
||||
- label: "Enhancement"
|
||||
title: "^feat:.*"
|
||||
titles:
|
||||
- "^feat:.*"
|
||||
- "^feature:.*"
|
||||
- label: "Bug"
|
||||
title: "^fix:.*"
|
||||
titles:
|
||||
- "^fix:.*"
|
||||
- label: "CI"
|
||||
title: "^test:.*"
|
||||
titles:
|
||||
- "^ci:.*"
|
||||
- label: "Test"
|
||||
titles:
|
||||
- "^test:.*"
|
||||
- label: "skip-changelog"
|
||||
title: "^test:.*"
|
||||
- label: "skip-changelog"
|
||||
title: "^doc:.*"
|
||||
titles:
|
||||
- "^test:.*"
|
||||
- "^ci:.*"
|
||||
- "^doc:.*"
|
||||
- "^chore:.*"
|
||||
|
|
|
|||
2
.github/workflows/pr-labeler.yml
vendored
2
.github/workflows/pr-labeler.yml
vendored
|
|
@ -10,6 +10,6 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: srvaroa/labeler@master
|
||||
- uses: appsmithorg/labeler@master
|
||||
env:
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user