aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2022-03-26 09:45:54 -0400
committerGitHub <noreply@github.com>2022-03-26 09:45:54 -0400
commit66fff788f2824ed804f262a4d67da6a807cdc053 (patch)
treebea4bb90fb608af098ba14c7d9808d40093927cc
parent85821d8b6fa366f7361f84e07e62dc8fc951f26d (diff)
parentca7d633eaf24fce634fc85c74985044b77ff8a71 (diff)
downloadrneovim-66fff788f2824ed804f262a4d67da6a807cdc053.tar.gz
rneovim-66fff788f2824ed804f262a4d67da6a807cdc053.tar.bz2
rneovim-66fff788f2824ed804f262a4d67da6a807cdc053.zip
Merge pull request #17857 from muniter/jl-breaking-change-label
ci: automatic breaking change label
-rw-r--r--.github/workflows/labeler.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
index d50e0c1f92..7845ae92a3 100644
--- 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