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 b91d578 commit f4f25ebCopy full SHA for f4f25eb
README.md
@@ -33,15 +33,6 @@ See [development.md](/docs/development.md).
33
34
## Reading step results
35
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
45
The return value of the script will be in the step's outputs under the
46
"result" key.
47
@@ -80,6 +71,15 @@ in case you need to use a non-default token.
80
71
81
72
By default, github-script will use the token provided to your workflow.
82
73
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:
+ script: console.log(context)
+```
83
### Comment on an issue
84
85
```yaml
0 commit comments