File tree 1 file changed +25
-0
lines changed 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : genai pull request description
2
+ on :
3
+ pull_request :
4
+ types : [ready_for_review, review_requested]
5
+ concurrency :
6
+ group : genai-pr-review-${{ github.workflow }}-${{ github.ref }}
7
+ cancel-in-progress : true
8
+ permissions :
9
+ contents : read # permission to read the repository
10
+ pull-requests : write # permission to write a comment
11
+ models : read # permission to use github models
12
+ jobs :
13
+ describe :
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - uses : actions/checkout@v4
17
+ - uses : actions/setup-node@v4
18
+ with :
19
+ node-version : " 22"
20
+ - name : fetch base branch
21
+ run : git fetch origin ${{ github.event.pull_request.base.ref }}
22
+ - name : genaiscript prd
23
+ run : npx --yes genaiscript run prd --vars base=origin/${{ github.event.pull_request.base.ref }} --pull-request-description --out-trace $GITHUB_STEP_SUMMARY
24
+ env :
25
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments