Skip to content

Commit c3915da

Browse files
committed
Fix some things #5
1 parent 13cbc04 commit c3915da

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
@@ -26,11 +26,11 @@ runs:
2626
# Fetch labels using GitHub API
2727
labels=$(curl -sL \
2828
-H "Accept: application/vnd.github+json" \
29-
-H "X-GitHub-Api-Version: 2022-11-28" \
29+
-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)