mirror of
https://github.com/simple-icons/simple-icons.git
synced 2024-11-16 00:59:07 +02:00
Fix get-labels action when returning multiple labels (#9849)
This commit is contained in:
parent
5794f411a1
commit
54b2330b7c
2
.github/actions/get-labels/action.yml
vendored
2
.github/actions/get-labels/action.yml
vendored
@ -16,5 +16,5 @@ runs:
|
||||
- id: get-labels
|
||||
shell: sh
|
||||
run: |
|
||||
labels="$(gh api 'repos/simple-icons/simple-icons/issues/${{ inputs.issue_number }}' --jq '.labels.[].name')"
|
||||
labels="$(gh api 'repos/simple-icons/simple-icons/issues/${{ inputs.issue_number }}' --jq '.labels.[].name' | tr '\n' ',')"
|
||||
echo "labels=$labels" >> $GITHUB_OUTPUT
|
||||
|
Loading…
Reference in New Issue
Block a user