diff --git a/.github/workflows/similarissues.yml b/.github/workflows/similarissues.yml index 115ef404..722249eb 100644 --- a/.github/workflows/similarissues.yml +++ b/.github/workflows/similarissues.yml @@ -21,6 +21,7 @@ jobs: runs-on: ubuntu-latest permissions: issues: write + if: needs.getSimilarIssues.outputs.message != '' steps: - name: Add comment run: gh issue comment "$NUMBER" --repo "$REPO" --body "$BODY"