Skip to content

Commit 095a41f

Browse files
authored
fix: avoid accumulating PR size labeler related labels (#97)
1 parent 4ec6770 commit 095a41f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/github.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ github::add_label_to_pr() {
8484
curl -sSL \
8585
-H "Authorization: token $GITHUB_TOKEN" \
8686
-H "$GITHUB_API_HEADER" \
87-
-X POST \
87+
-X PUT \
8888
-H "Content-Type: application/json" \
8989
-d "{\"labels\":[$comma_separated_labels]}" \
9090
"$GITHUB_API_URL/repos/$GITHUB_REPOSITORY/issues/$pr_number/labels" >/dev/null

0 commit comments

Comments
 (0)