mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Merge pull request #16015 from dundargoc/ci/labeler/breaking-changes
This commit is contained in:
commit
6b9cb665fa
4
.github/workflows/labeler.yml
vendored
4
.github/workflows/labeler.yml
vendored
@ -24,7 +24,7 @@ jobs:
|
||||
- run: gh pr checkout ${{ github.event.pull_request.number }}
|
||||
|
||||
# Extract type and try to add it as a label
|
||||
- run: gh pr edit --add-label "$(echo "${{ github.event.pull_request.title }}" | sed -E 's|([[:alpha:]]+)(\(.*\))?:.*|\1|')" || true
|
||||
- run: gh pr edit --add-label "$(echo "${{ github.event.pull_request.title }}" | sed -E 's|([[:alpha:]]+)(\(.*\))?!?:.*|\1|')" || true
|
||||
|
||||
# Extract scope and try to add it as a label
|
||||
- run: gh pr edit --add-label "$(echo "${{ github.event.pull_request.title }}" | sed -E 's|[[:alpha:]]+\((.+)\):.*|\1|')" || true
|
||||
- run: gh pr edit --add-label "$(echo "${{ github.event.pull_request.title }}" | sed -E 's|[[:alpha:]]+\((.+)\)!?:.*|\1|')" || true
|
||||
|
Loading…
Reference in New Issue
Block a user