mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
ci: update extracting PR labels' names (#25437)
This commit is contained in:
parent
435c3290b1
commit
a995f724ea
4
.github/workflows/label-pr.yml
vendored
4
.github/workflows/label-pr.yml
vendored
@ -27,9 +27,7 @@ jobs:
|
|||||||
baseLabel: '${{ github.event.pull_request.base.label }}',
|
baseLabel: '${{ github.event.pull_request.base.label }}',
|
||||||
number: ${{ github.event.pull_request.number }},
|
number: ${{ github.event.pull_request.number }},
|
||||||
title: process.env.PULL_REQUEST_TITLE,
|
title: process.env.PULL_REQUEST_TITLE,
|
||||||
labelsNames: ${{ github.event.pull_request.labels }}.map(
|
labelsNames: ${{ toJson(github.event.pull_request.labels.*.name) }}
|
||||||
(label) => label.name
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Select label based on the branch name
|
// Select label based on the branch name
|
||||||
|
Loading…
Reference in New Issue
Block a user