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

ci: chat gpt code review #1391

Merged
merged 1 commit into from
Feb 27, 2024
Merged

ci: chat gpt code review #1391

merged 1 commit into from
Feb 27, 2024

Conversation

GaoNeng-wWw
Copy link
Collaborator

@GaoNeng-wWw GaoNeng-wWw commented Feb 8, 2024

PR

PR Checklist

Please check if your PR fulfills the following requirements:

  • The commit message follows our Commit Message Guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

Issue Number: N/A

What is the new behavior?

现在可以使用Chatgpt来检视代码了

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

如何使用

根据secrets列表配置好secrets后,为需要gpt自动检视的pr加上gpt-review的label

secrets列表

  • secrets.GITHUB_TOKEN
    • workflow会自动生成
  • secrets.OPENAI_API_KEY
    • OPENAPI密钥
  • secrets.PROMPT
    • 提示词
  • secrets.MAX_TOKEN
    • 未知,建议10000
  • secrets.MAX_PATH_LENGTH
    • 当修改行数超过设定值后, 则不会请求gpt进行code review
  • secrets.MODEL

Copy link

vercel bot commented Feb 8, 2024

@GaoNeng-wWw is attempting to deploy a commit to the OpenTiny Team on Vercel.

A member of the Team first needs to authorize it.

@kagol kagol added the ci CI/CD (流水线持续集成) label Feb 8, 2024
Copy link

github-actions bot commented Feb 8, 2024

Deploy PR preview failed.

1 similar comment
Copy link

Deploy PR preview failed.

Copy link

vercel bot commented Feb 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tiny-vue ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 20, 2024 6:38am

@zzcr zzcr merged commit a278aec into opentiny:dev Feb 27, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci CI/CD (流水线持续集成)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants