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 13cbc04 commit c3915daCopy full SHA for c3915da
actions/ci_connection/action.yaml
@@ -26,11 +26,11 @@ runs:
26
# Fetch labels using GitHub API
27
labels=$(curl -sL \
28
-H "Accept: application/vnd.github+json" \
29
- -H "X-GitHub-Api-Version: 2022-11-28" \
+ -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