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
1 changed files with 1 additions and 3 deletions

View File

@ -27,9 +27,7 @@ jobs:
baseLabel: '${{ github.event.pull_request.base.label }}',
number: ${{ github.event.pull_request.number }},
title: process.env.PULL_REQUEST_TITLE,
labelsNames: ${{ github.event.pull_request.labels }}.map(
(label) => label.name
)
labelsNames: ${{ toJson(github.event.pull_request.labels.*.name) }}
}
// Select label based on the branch name