Skip to content

Commit 6a5fa9f

Browse files
committed
Fix some things #6
1 parent c3915da commit 6a5fa9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

actions/ci_connection/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ runs:
2424
id: get-labels
2525
run: |
2626
# Fetch labels using GitHub API
27-
labels=$(curl -sL \
27+
response=$(curl -sL \
2828
-H "Accept: application/vnd.github+json" \
2929
-H "Authorization: Bearer ${{ github.token }}" \
3030
https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/labels)
3131
3232
# Extract label names using jq
33-
# labels=$(echo "$response" | jq -r '.[].name' | paste -sd "," -)
33+
labels=$(echo "$response" | jq -r '.[].name' | paste -sd "," -)
3434
3535
# Set the labels as an output
3636
echo "labels=$labels" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)