We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3915da commit 6a5fa9fCopy full SHA for 6a5fa9f
actions/ci_connection/action.yaml
@@ -24,13 +24,13 @@ runs:
24
id: get-labels
25
run: |
26
# Fetch labels using GitHub API
27
- labels=$(curl -sL \
+ response=$(curl -sL \
28
-H "Accept: application/vnd.github+json" \
29
-H "Authorization: Bearer ${{ github.token }}" \
30
https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/labels)
31
32
# Extract label names using jq
33
- # labels=$(echo "$response" | jq -r '.[].name' | paste -sd "," -)
+ labels=$(echo "$response" | jq -r '.[].name' | paste -sd "," -)
34
35
# Set the labels as an output
36
echo "labels=$labels" >> $GITHUB_OUTPUT
0 commit comments