neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit ca7d633eaf24fce634fc85c74985044b77ff8a71
parent b438251a0edcb81ada1992157443c829960da116
Author: Javier López <graulopezjavier@gmail.com>
Date:   Fri, 25 Mar 2022 14:30:42 -0500

ci: automatic breaking change label

When the PR title contains the breaking change format apply the
breaking-change label.

Diffstat:
M.github/workflows/labeler.yml | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml @@ -30,6 +30,8 @@ jobs: run: gh pr edit "$PR_NUMBER" --add-label "$(echo "$PR_TITLE" | sed -E 's|([[:alpha:]]+)(\(.*\))?!?:.*|\1|')" || true - name: "Extract commit scope and add as label" run: gh pr edit "$PR_NUMBER" --add-label "$(echo "$PR_TITLE" | sed -E 's|[[:alpha:]]+\((.+)\)!?:.*|\1|')" || true + - name: "Extract if the PR is a breaking change and add it as label" + run: gh pr edit "$PR_NUMBER" --add-label "$(echo "$PR_TITLE" | sed -E 's|[[:alpha:]]+(\(.*\))?!:.*|breaking-change|')" || true request-reviewer: if: github.event.pull_request.state == 'open' && github.event.pull_request.draft == false