File tree Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -25,12 +25,11 @@ jobs:
25
25
- name : Build description and review commands
26
26
run : |
27
27
cd gpt-pullrequest-updater
28
- go build -o description ./cmd/description
29
- go build -o review ./cmd/review
28
+ make build
30
29
31
30
- name : Update Pull Request Description
32
31
run : |
33
- ./gpt-pullrequest-updater/description
32
+ ./gpt-pullrequest-updater/bin/ description
34
33
env :
35
34
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
36
35
OPENAI_TOKEN : ${{ secrets.OPENAI_TOKEN }}
41
40
- name : Review Pull Request
42
41
if : github.event.action == 'opened'
43
42
run : |
44
- ./gpt-pullrequest-updater/review
43
+ ./gpt-pullrequest-updater/bin/ review
45
44
env :
46
45
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
47
46
OPENAI_TOKEN : ${{ secrets.OPENAI_TOKEN }}
Original file line number Diff line number Diff line change 1
1
.PHONY : init-tools lint test test-coverage precommit help
2
2
3
+ build :
4
+ go build -o bin/description ./cmd/description && \
5
+ go build -o bin/review ./cmd/review
6
+
3
7
# run this once to install tools required for development.
4
8
init-tools :
5
9
cd tools && \
Original file line number Diff line number Diff line change @@ -101,12 +101,11 @@ jobs:
101
101
- name : Build description and review commands
102
102
run : |
103
103
cd gpt-pullrequest-updater
104
- go build -o description ./cmd/description
105
- go build -o review ./cmd/review
104
+ make build
106
105
107
106
- name : Update Pull Request Description
108
107
run : |
109
- ./gpt-pullrequest-updater/description
108
+ ./gpt-pullrequest-updater/bin/ description
110
109
env :
111
110
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
112
111
OPENAI_TOKEN : ${{ secrets.OPENAI_TOKEN }}
@@ -117,7 +116,7 @@ jobs:
117
116
- name : Review Pull Request
118
117
if : github.event.action == 'opened'
119
118
run : |
120
- ./gpt-pullrequest-updater/review
119
+ ./gpt-pullrequest-updater/bin/ review
121
120
env :
122
121
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
123
122
OPENAI_TOKEN : ${{ secrets.OPENAI_TOKEN }}
You can’t perform that action at this time.
0 commit comments