We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 470a4bf commit 72fd1e6Copy full SHA for 72fd1e6
1 file changed
README.md
@@ -33,7 +33,7 @@ jobs:
33
comment:
34
runs-on: ubuntu-latest
35
steps:
36
- - uses: actions/github-script@0.2.0
+ - uses: actions/github-script@0.3.0
37
with:
38
github-token: ${{github.token}}
39
script: |
@@ -98,7 +98,7 @@ jobs:
98
You can use the `github` object to access the Octokit API. For
99
instance, `github.request`
100
101
-```
+```yaml
102
on:
103
pull_request
104
@@ -111,9 +111,8 @@ jobs:
111
112
113
const diff_url = context.payload.pull_request.diff_url
114
- const result = await github.request( diff_url )
115
- console.log( result )
116
-
+ const result = await github.request(diff_url)
+ console.log(result)
117
```
118
119
This will print the full diff object in the screen; `result.data` will
0 commit comments