ci: update extracting PR labels' names (#25437)

This commit is contained in:
Damian Głowala 2024-01-25 16:55:33 +01:00 committed by GitHub
parent 435c3290b1
commit a995f724ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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