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 4ec6770 commit 095a41fCopy full SHA for 095a41f
1 file changed
src/github.sh
@@ -84,7 +84,7 @@ github::add_label_to_pr() {
84
curl -sSL \
85
-H "Authorization: token $GITHUB_TOKEN" \
86
-H "$GITHUB_API_HEADER" \
87
- -X POST \
+ -X PUT \
88
-H "Content-Type: application/json" \
89
-d "{\"labels\":[$comma_separated_labels]}" \
90
"$GITHUB_API_URL/repos/$GITHUB_REPOSITORY/issues/$pr_number/labels" >/dev/null
0 commit comments