mirror of
https://github.com/Mibew/simple-icons.git
synced 2025-05-02 09:06:43 +03: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
|
- id: get-labels
|
||||||
shell: sh
|
shell: sh
|
||||||
run: |
|
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
|
echo "labels=$labels" >> $GITHUB_OUTPUT
|
||||||
|
Loading…
Reference in New Issue
Block a user