From 07caedb7e58674fadcf759ea7afed781115334f6 Mon Sep 17 00:00:00 2001 From: Arpit Mohan Date: Mon, 6 Sep 2021 22:48:35 +0530 Subject: [PATCH] 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. --- .github/labeler.yml | 21 +++++++++++++++------ .github/workflows/pr-labeler.yml | 2 +- 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 70fca50f5a..ec97c49a71 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -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:.*" diff --git a/.github/workflows/pr-labeler.yml b/.github/workflows/pr-labeler.yml index e262601c3d..76fc33e661 100644 --- a/.github/workflows/pr-labeler.yml +++ b/.github/workflows/pr-labeler.yml @@ -10,6 +10,6 @@ jobs: runs-on: ubuntu-latest steps: - - uses: srvaroa/labeler@master + - uses: appsmithorg/labeler@master env: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"