Merge pull request #108 from Bullenj01/documentation-print-option-for-objects

Update README.md
This commit is contained in:
Josh Gross authored and GitHub committed 2020-12-17 12:07:59 -05:00
commit 1318dc37ba
1 file changed
+9
+9
View File
@@ -71,6 +71,15 @@ in case you need to use a non-default token.
By default, github-script will use the token provided to your workflow.
### Print the available attributes of context:
```yaml
- name: View context attributes
uses: actions/[email protected]
with:
script: console.log(context)
```
### Comment on an issue
```yaml