File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : review bot
2
+ on :
3
+ issue_comment :
4
+ types : [created, edited]
5
+ jobs :
6
+ review_comment :
7
+ if : contains(github.event.comment.body, '/review-bot ')
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : " DamianReeves/write-file-action@master"
11
+ with :
12
+ path : /tmp/comment.txt
13
+ write-mode : overwrite
14
+ contents : ${{ github.event.comment.body }}
15
+ - uses : jc-lab/shim-review-bot@v0.0.5
16
+ with :
17
+ comment-file : /tmp/comment.txt
18
+ issue-repository : ${{ github.repository }}
19
+ issue-number : ${{ github.event.issue.number }}
20
+ source : ${{ inputs.source }}
21
+ build-script : ${{ inputs.build-script }}
22
+ output-file : ${{ inputs.output-file }}
23
+ vendor-cert : ${{ inputs.vendor-cert }}
24
+ report-output : ${{ inputs.report-output }}
25
+
26
+
27
+ # ISSUE MESSAGE FORMAT
28
+ # ==================================================
29
+ # /review-bot SOURCE
30
+ # ``` (it is optional. yaml-format)
31
+ # parameters
32
+ # ```
33
+ # ==================================================
34
+
35
+ # ISSUE MESSAGE SAMPLE
36
+ # ==================================================
37
+ # /review-bot https://github.com/jc-lab/shim-review-bot/tree/master/sample-repo
38
+ # ```
39
+ # build-script: build.sh
40
+ # output-file: output.tar
41
+ # vendor-cert: vendor_cert.der
42
+ # sbat: sbat.csv
43
+ # ```
44
+ # ==================================================
You can’t perform that action at this time.
0 commit comments