Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1318dc3

Browse files
authored
Merge pull request actions#108 from Bullenj01/documentation-print-option-for-objects
Update README.md
2 parents a52e7f4 + f4f25eb commit 1318dc3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,15 @@ in case you need to use a non-default token.
7171

7272
By default, github-script will use the token provided to your workflow.
7373

74+
### Print the available attributes of context:
75+
76+
```yaml
77+
- name: View context attributes
78+
uses: actions/[email protected]
79+
with:
80+
script: console.log(context)
81+
```
82+
7483
### Comment on an issue
7584

7685
```yaml

0 commit comments

Comments
 (0)