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

Add GPT based code review CI #2242

Open
BenjaminEngeset opened this issue May 24, 2023 · 2 comments
Open

Add GPT based code review CI #2242

BenjaminEngeset opened this issue May 24, 2023 · 2 comments
Labels
ci-quality Issues that affect CI/ CD processes

Comments

@BenjaminEngeset
Copy link
Contributor

Are we open for adding a GPT based code review CI?

It's breaking and cutting edge, but it would have been interesting to have this on our PRs and see what kind of suggestions would be emitted and if they are of any value in the cycle. There is already a Microsoft repository that have taken it in use.

https://github.com/microsoft/gpt-review

Example workflow:

name: GPT Review on Pull Request

on:
  pull_request_target:
    branches: [main]

jobs:
  add_pr_comment:
    runs-on: ubuntu-latest
    name: OpenAI PR Comment
    steps:
      - id: review
        uses: microsoft/[email protected]
        with:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          AZURE_OPENAI_API: ${{ secrets.AZURE_OPENAI_API }}
          AZURE_OPENAI_API_KEY: ${{ secrets.AZURE_OPENAI_API_KEY }}

Example suggestions provided:

https://github.com/microsoft/SynapseML/pulls

@BernieWhite
Copy link
Collaborator

@BenjaminEngeset We don't have access to an Azure Open AI instance on this repo. We can leave this issue open for a time however I don't think we will be able to progress this anytime soon.

@BernieWhite BernieWhite added the ci-quality Issues that affect CI/ CD processes label May 25, 2023
@BenjaminEngeset
Copy link
Contributor Author

@BenjaminEngeset We don't have access to an Azure Open AI instance on this repo. We can leave this issue open for a time however I don't think we will be able to progress this anytime soon.

@BernieWhite Great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-quality Issues that affect CI/ CD processes
Projects
None yet
Development

No branches or pull requests

2 participants