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

fix format error #2984

Merged
merged 1 commit into from
Mar 20, 2025
Merged

fix format error #2984

merged 1 commit into from
Mar 20, 2025

Conversation

ColdWaterLW
Copy link
Collaborator

@ColdWaterLW ColdWaterLW commented Mar 20, 2025

User description

关联的 issue

#2977

描述你的变更

修复配置文件的格式错误

确认项(pr提交后操作)

Tip

请在指定复审人之前,确认并完成以下事项,完成后✅


  • 我已完成自测
  • 我已记录完整日志方便进行诊断
  • 我已在关联的issue里补充了实现方案
  • 我已在关联的issue里补充了测试影响面
  • 我已确认了变更的兼容性,如果不兼容则在issue里标记 not_compatible
  • 我已确认了是否要更新文档,如果要更新则在issue里标记 need_update_doc

assign in @BugsGuru


Description

  • 修正 .github/workflows/pr-agent.yml 的格式错误

Changes walkthrough 📝

Relevant files
Formatting
pr-agent.yml
调整 pr-agent 工作流格式                                                                               

.github/workflows/pr-agent.yml

  • 重新缩进文件内容
  • 修正行尾缺失换行
+27/-27 

Need help?
  • Type /help how to ... in the comments thread for any questions about PR-Agent usage.
  • Check out the documentation for more information.
  • Copy link

    github-actions bot commented Mar 20, 2025

    PR Reviewer Guide 🔍

    (Review updated until commit bb429fa)

    🎫 Ticket compliance analysis ✅

    2977 - Fully compliant

    Compliant requirements:

    • 新增一个actions,调用pr-agent,连接大模型进行代码复审
    • 复审触发时机:创建pr、reopen pr、pr提交新的commit
    ⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
    🧪 No relevant tests
    🔒 No security concerns identified
    ⚡ Recommended focus areas for review

    格式问题

    环境变量名称包含点,可能导致解析问题。建议使用下划线替代。

    env:
      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      github_action_config.pr_actions: '["opened", "reopened", "ready_for_review", "review_requested", "synchronize"]'
      OPENAI_API_VERSION: "2024-07-01-preview"
      github_action_config.auto_review: "true"
      github_action_config.auto_describe: "true"
      github_action_config.auto_improve: "true"
      OPENAI_KEY: ${{ secrets.OPENAI_KEY }}
      OPENAI.API_TYPE: "azure"
      OPENAI.API_BASE: ${{ secrets.OPENAI_API_BASE }}
      AZURE_API_VERSION: "2024-07-01-preview"

    Copy link

    PR Code Suggestions ✨

    No code suggestions found for the PR.

    Copy link

    Persistent review updated to latest commit bb429fa

    Copy link

    PR Code Suggestions ✨

    No code suggestions found for the PR.

    @BugsGuru BugsGuru merged commit 62fb6cf into main Mar 20, 2025
    5 checks passed
    @BugsGuru BugsGuru deleted the issue-2977 branch March 20, 2025 05:00
    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.

    2 participants