ci: wrap PR base label in quotes (#25432)

This commit is contained in:
Damian Głowala 2024-01-25 12:29:15 +01:00 committed by GitHub
parent 44fcacba84
commit 3f51277219
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,7 +24,7 @@ jobs:
const labelsToAdd = [] const labelsToAdd = []
const pullRequest = { const pullRequest = {
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: ${{ github.event.pull_request.labels }}.map(