File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : " AutoCodeRover Bot"
2
+
3
+ permissions :
4
+ issues : write
5
+ contents : write # change to `read` if you do not want to use open-pr
6
+ pull-requests : write # (optional) remove if you do not want to use open-pr
7
+
8
+ on :
9
+ issue_comment :
10
+ types : [created]
11
+ issues :
12
+ types : [opened]
13
+
14
+ jobs :
15
+ acr-bot :
16
+ runs-on : ubuntu-latest
17
+ if : ${{ contains(github.event.comment.body || github.event.issue.body, '@acr-bot') }}
18
+ steps :
19
+ - name : Check out
20
+ uses : actions/checkout@v4
21
+
22
+ - id : set-var
23
+ run : echo "GITHUB_WORKSPACE=$GITHUB_WORKSPACE" >> $GITHUB_OUTPUT
24
+
25
+ - name : ACR bot
26
+ uses :
AutoCodeRoverSG/[email protected]
27
+ env :
28
+ TARGET_REPO_PATH : ${{ steps.set-var.outputs.GITHUB_WORKSPACE }}
29
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
30
+ OPENAI_API_KEY : ${{ secrets.OPENAI_API_KEY }}
31
+ ANTHROPIC_API_KEY : ${{ secrets.ANTHROPIC_API_KEY }}
You can’t perform that action at this time.
0 commit comments