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:
Arpit Mohan 2021-09-06 22:48:35 +05:30 committed by GitHub
parent e7b95d2fd9
commit 07caedb7e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 7 deletions

21
.github/labeler.yml vendored
View File

@ -1,12 +1,21 @@
version: 1 version: 1
labels: labels:
- label: "Enhancement" - label: "Enhancement"
title: "^feat:.*" titles:
- "^feat:.*"
- "^feature:.*"
- label: "Bug" - label: "Bug"
title: "^fix:.*" titles:
- "^fix:.*"
- label: "CI" - label: "CI"
title: "^test:.*" titles:
- "^ci:.*"
- label: "Test"
titles:
- "^test:.*"
- label: "skip-changelog" - label: "skip-changelog"
title: "^test:.*" titles:
- label: "skip-changelog" - "^test:.*"
title: "^doc:.*" - "^ci:.*"
- "^doc:.*"
- "^chore:.*"

View File

@ -10,6 +10,6 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: srvaroa/labeler@master - uses: appsmithorg/labeler@master
env: env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"