-
Notifications
You must be signed in to change notification settings - Fork 79
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
Adds Codeium PR agent in the CI jobs. #569
Changes from 3 commits
0cf9f8c
84ec7a8
375fb20
2c8d1db
8576aa3
6efe4ed
14ac643
d5ae442
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
on: | ||
pull_request: | ||
types: [opened, reopened, ready_for_review] | ||
issue_comment: | ||
|
||
jobs: | ||
pr_agent_job: | ||
if: ${{ github.event.sender.type != 'Bot' }} | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
contents: write | ||
name: Run pr agent on every pull request, respond to user comments | ||
steps: | ||
- name: PR Agent action step | ||
id: pragent | ||
uses: Codium-ai/pr-agent@main | ||
env: | ||
OPENAI_KEY: ${{ secrets.OPENAI_KEY }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -139584,3 +139584,5 @@ | |
龜鑑 ㄍㄨㄟ ㄐㄧㄢˋ | ||
龜頭 ㄍㄨㄟ ㄊㄡˊ | ||
龜鱉目 ㄍㄨㄟ ㄅㄧㄝ ㄇㄨˋ | ||
大於等於 ㄉㄚˋ ㄩˊ ㄉㄥˇ ㄩˊ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Keep the file sorted per the instructions here? https://github.com/openvanilla/McBopomofo/wiki/詞庫開發說明#請確保-bpmfmappingstxt-以及-phraseocc-兩個檔案的詞條排序 |
||
小於等於 ㄒㄧㄠˇ ㄩˊ ㄉㄥˇ ㄩˊ |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -148259,3 +148259,5 @@ | |
龤 0 | ||
兀 0 | ||
嗀 0 | ||
大於等於 0 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ditto please keep the file sorted. |
||
小於等於 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zonble 如果要自動跑的話要有這些。現在沒有,所以要手動 comment
@CodiumAI-Agent /command
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
是說我不確定最後一列
github_action_config.pr_actions: '["opened", "reopened", "ready_for_review", "review_requested"]'
跟最上層不一致的話會發生什麼事。現在最上層的on
沒有"review_requested"
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
另外,GitHub App 才支援不加
@CodiumAI-Agent
的/command
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zonble Do you want to commit the suggested edits? Since we are still trying out Bito I'm ok with invoking Codium manually, but up to you.