File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 3333 comment :
3434 runs-on : ubuntu-latest
3535 steps :
36- - uses : actions/github-script@0.2 .0
36+ - uses : actions/github-script@0.3 .0
3737 with :
3838 github-token : ${{github.token}}
3939 script : |
9898You can use the ` github` object to access the Octokit API. For
9999instance, `github.request`
100100
101- ```
101+ ` ` ` yaml
102102on:
103103 pull_request
104104
@@ -111,9 +111,8 @@ jobs:
111111 github-token: ${{github.token}}
112112 script: |
113113 const diff_url = context.payload.pull_request.diff_url
114- const result = await github.request( diff_url )
115- console.log( result )
116-
114+ const result = await github.request(diff_url)
115+ console.log(result)
117116` ` `
118117
119118This will print the full diff object in the screen; `result.data` will
You can’t perform that action at this time.
0 commit comments