Skip to content

Commit 7cae583

Browse files
committed
fix: duplicate check to use correct name of the bot
Signed-off-by: exploreriii <[email protected]>
1 parent 1fdb72b commit 7cae583

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/scripts/bot-office-hours.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ echo "$PR_DATA" |
9999
fi
100100
done
101101

102-
ALREADY_COMMENTED=$(gh pr view "$PR_NUM" --repo "$REPO" --json comments --jq '.comments[].body' | grep -F "Office Hour Bot" || true)
102+
ALREADY_COMMENTED=$(gh pr view "$PR_NUM" --repo "$REPO" --json comments --jq '.comments[].body' | grep -F "OfficeHourBot" || true)
103103

104104
if [ -n "$ALREADY_COMMENTED" ]; then
105105
echo "PR #$PR_NUM already notified. Skipping."

0 commit comments

Comments
 (0)