Skip to content

Commit 051850f

Browse files
authored
fix: use valid flags when updating a comment (#9)
1 parent 2fd0a62 commit 051850f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ create)
3535
echo "Issue already exists (#${ISSUE_NUMBER}), updating instead."
3636
if [ -n "${COMMENT}" ]; then
3737
echo "Adding comment to existing issue..."
38-
gh issue comment "${ISSUE_NUMBER}" --repo "${REPO}" --body "${COMMENT}" --edit-last --create-if-none --yes
38+
gh issue comment "${ISSUE_NUMBER}" --repo "${REPO}" --body "${COMMENT}" --edit-last --create-if-none
3939
else
4040
echo "Updating issue body..."
4141
gh issue edit "${ISSUE_NUMBER}" --repo "${REPO}" --title "${TITLE}" --body "${BODY}"

0 commit comments

Comments
 (0)