Skip to content

Commit

Permalink
Update similarIssues.yml to not show 'fail' when no similar issues fo…
Browse files Browse the repository at this point in the history
…und (#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
craigloewen-msft/GitGudSimilarIssues#33

###### Microsoft Reviewers: [Open in
CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/microsoft/winget-cli/pull/4042)
  • Loading branch information
craigloewen-msft authored Jan 8, 2024
1 parent 7310865 commit 96a7f67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/similarissues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 96a7f67

Please sign in to comment.