Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added similar issues bot #9081

Merged
merged 2 commits into from
Dec 12, 2023
Merged

Added similar issues bot #9081

merged 2 commits into from
Dec 12, 2023

Conversation

craigloewen-msft
Copy link
Member

Summary of the Pull Request

Creates a new GitHub action that makes a bot that will automatically comment on new issues letting them know about similarly titled issues using AI. Will look like this:

image

Detailed Description of the Pull Request / Additional comments

The bot code is open sourced here.

Validation Steps Performed

Validated on other repos. You can manually validate queries like so:
https://gitgudissues.azurewebsites.net/api/getsimilarissues/microsoft/microsoft-ui-xaml/window%20caption%20brushes%20not%20working

@riverar
Copy link
Contributor

riverar commented Nov 16, 2023

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

The bot response indicates prioritization occurs via thumbs up, but the team has not indicated they are prioritizing community issues in that manner. Is this a commitment to start doing so or is this just boilerplate text that needs to be revised?

@craigloewen-msft
Copy link
Member Author

@riverar this is boilerplate text that is used just for this bot.

@riverar
Copy link
Contributor

riverar commented Nov 17, 2023

Sounds good. I expect to see changes to the YAML to reflect that!

    steps:
      - name: Add comment
        run: gh issue comment "$NUMBER" --repo "$REPO" --body "$BODY"
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          NUMBER: ${{ github.event.issue.number }}
          REPO: ${{ github.repository }}
-         BODY: ${{ needs.getsimilarissues.outputs.message }}

@craigloewen-msft
Copy link
Member Author

@riverar it's been added here: https://github.com/craigloewen-msft/GitGudSimilarIssues/blob/31ca2bdeece539a74f42fb0a9e4c25c71bf3627a/action.yml#L20

@Redth seems like merging is blocked despite approval? Please let me know if there's anything else you need from me to help merge this. THank you!

@riverar
Copy link
Contributor

riverar commented Nov 21, 2023

@craigloewen-msft Right and like mentioned above, the text is wrong. There's no thumbs-based voting here. So this PR needs to reflect alternate text. (Telling folks to perform an action that has no bearing on prioritization is confusing and a waste of their time.)

@craigloewen-msft
Copy link
Member Author

@riverar modified the comment body to edit out that part.

@riverar
Copy link
Contributor

riverar commented Nov 28, 2023

Looks good to me!

@bpulliam
Copy link
Contributor

/azp run

Copy link

Azure Pipelines failed to run 1 pipeline(s).

@bpulliam
Copy link
Contributor

Separate issue opened for broken links #9159

@bpulliam bpulliam merged commit 96d825b into microsoft:main Dec 12, 2023
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants