8000 Move to examples section · terrorizer1980/github-script@f4f25eb · GitHub
[go: up one dir, main page]

Skip to content

Commit f4f25eb

Browse files
authored
Move to examples section
1 parent b91d578 commit f4f25eb

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,6 @@ See [development.md](/docs/development.md).
3333

3434
## Reading step results
3535

36-
Print the available attributes of context:
37-
38-
```yaml
39-
- name: View context attributes
40-
uses: actions/github-script@0.9.0
41-
with:
42-
script: console.log(context)
43-
```
44-
4536
The return value of the script will be in the step's outputs under the
4637
"result" key.
4738

@@ -80,6 +71,15 @@ in case you need to use a non-default token.
8071

8172
By default, github-script will use the token provided to your workflow.
8273

74+
### Print the available attributes of context:
75+
76+
```yaml
77+
- name: View context attributes
78+
uses: actions/github-script@0.9.0
79+
with:
80+
script: console.log(context)
81+
```
82+
8383
### Comment on an issue
8484

8585
```yaml

0 commit comments

Comments
 (0)
0