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:
2525 - name : Build description and review commands
2626 run : |
2727 cd gpt-pullrequest-updater
28- go build -o description ./cmd/description
29- go build -o review ./cmd/review
28+ make build
3029
3130 - name : Update Pull Request Description
3231 run : |
33- ./gpt-pullrequest-updater/description
32+ ./gpt-pullrequest-updater/bin/ description
3433 env :
3534 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3635 OPENAI_TOKEN : ${{ secrets.OPENAI_TOKEN }}
4140 - name : Review Pull Request
4241 if : github.event.action == 'opened'
4342 run : |
44- ./gpt-pullrequest-updater/review
43+ ./gpt-pullrequest-updater/bin/ review
4544 env :
4645 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4746 OPENAI_TOKEN : ${{ secrets.OPENAI_TOKEN }}
Original file line number Diff line number Diff line change 11.PHONY : init-tools lint test test-coverage precommit help
22
3+ build :
4+ go build -o bin/description ./cmd/description && \
5+ go build -o bin/review ./cmd/review
6+
37# run this once to install tools required for development.
48init-tools :
59 cd tools && \
Original file line number Diff line number Diff line change @@ -101,12 +101,11 @@ jobs:
101101 - name : Build description and review commands
102102 run : |
103103 cd gpt-pullrequest-updater
104- go build -o description ./cmd/description
105- go build -o review ./cmd/review
104+ make build
106105
107106 - name : Update Pull Request Description
108107 run : |
109- ./gpt-pullrequest-updater/description
108+ ./gpt-pullrequest-updater/bin/ description
110109 env :
111110 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
112111 OPENAI_TOKEN : ${{ secrets.OPENAI_TOKEN }}
@@ -117,7 +116,7 @@ jobs:
117116 - name : Review Pull Request
118117 if : github.event.action == 'opened'
119118 run : |
120- ./gpt-pullrequest-updater/review
119+ ./gpt-pullrequest-updater/bin/ review
121120 env :
122121 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
123122 OPENAI_TOKEN : ${{ secrets.OPENAI_TOKEN }}
You can’t perform that action at this time.
0 commit comments