We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56f1e40 commit e38c792Copy full SHA for e38c792
.github/workflows/comment_pr.yml
@@ -10,9 +10,16 @@ jobs:
10
with:
11
github-token: ${{secrets.GITHUB_TOKEN}}
12
script: |
13
- #const diff_url = context.payload.pull_request.diff_url
14
- #const result = await github.request(diff_url)
15
- #console.log(result)
16
- const pay = context.payload
17
- console.log(pay)
18
- # console.log(context.payload.pull_request)
+ context.pulls.createReview({
+ pull_number: 14,
+ owner: context.repo.owner,
+ repo: context.repo.repo,
+ body: 'thanks'
+ event: 'REQUEST_CHANGES'
19
+ comments: [
20
+ {
21
+ path: gitlab/workflows/comment_pr.yml,
22
+ line: 1,
23
24
+ }
25
+ })
0 commit comments