Skip to content
This repository was archived by the owner on Feb 19, 2026. It is now read-only.

Commit d723147

Browse files
authored
feat: update to not post comment on workflows when no duplicates found (anomalyco#13238)
1 parent 9f9f0fb commit d723147

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/pr-management.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,11 @@ jobs:
6060
run: |
6161
COMMENT=$(bun script/duplicate-pr.ts -f pr_info.txt "Check the attached file for PR details and search for duplicates")
6262
63-
gh pr comment "$PR_NUMBER" --body "_The following comment was made by an LLM, it may be inaccurate:_
63+
if [ "$COMMENT" != "No duplicate PRs found" ]; then
64+
gh pr comment "$PR_NUMBER" --body "_The following comment was made by an LLM, it may be inaccurate:_
6465
6566
$COMMENT"
67+
fi
6668
6769
add-contributor-label:
6870
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)