diff options
| author | Ryan Vogel <[email protected]> | 2026-02-12 09:13:38 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-02-12 09:13:38 -0500 |
| commit | d723147083ef972e82de5e33765874e35be64079 (patch) | |
| tree | 8cee416187f759ba276128550e0106d9e036608a /.github/workflows | |
| parent | 9f9f0fb8eb10ab4e90a6f38c222eb40116becb50 (diff) | |
| download | opencode-d723147083ef972e82de5e33765874e35be64079.tar.gz opencode-d723147083ef972e82de5e33765874e35be64079.zip | |
feat: update to not post comment on workflows when no duplicates found (#13238)
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/pr-management.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/pr-management.yml b/.github/workflows/pr-management.yml index 25bea2f24..008272415 100644 --- a/.github/workflows/pr-management.yml +++ b/.github/workflows/pr-management.yml @@ -60,9 +60,11 @@ jobs: run: | COMMENT=$(bun script/duplicate-pr.ts -f pr_info.txt "Check the attached file for PR details and search for duplicates") - gh pr comment "$PR_NUMBER" --body "_The following comment was made by an LLM, it may be inaccurate:_ + if [ "$COMMENT" != "No duplicate PRs found" ]; then + gh pr comment "$PR_NUMBER" --body "_The following comment was made by an LLM, it may be inaccurate:_ $COMMENT" + fi add-contributor-label: runs-on: ubuntu-latest |
