commit 96a7f678c38becd62e150199ecd1e9080f2622cc
parent 731086523d982dffb39aaea1dc4d6abccf6ae871
Author: Craig Loewen <crloewen@microsoft.com>
Date: Mon, 8 Jan 2024 14:45:58 -0500
Update similarIssues.yml to not show 'fail' when no similar issues found (#4042)
## Summary of the Pull Request
Added an if statement to similarIssues.yml so that the logic can be
updated to not show as 'failure' when no similar issue is found.
## References and Relevant Issues
None
## Detailed Description of the Pull Request / Additional comments
Small change only
## Validation Steps Performed
## PR Checklist
- [x] Closes
https://github.com/craigloewen-msft/GitGudSimilarIssues/issues/33
###### Microsoft Reviewers: [Open in
CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/microsoft/winget-cli/pull/4042)
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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"