mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07:00
ci: automatic breaking change label
When the PR title contains the breaking change format apply the breaking-change label.
This commit is contained in:
parent
b438251a0e
commit
ca7d633eaf
2
.github/workflows/labeler.yml
vendored
2
.github/workflows/labeler.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user