Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1318dc3

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

File tree

1 file changed

+9
-0
lines changed
Filter options

1 file changed

+9
-0
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+9Lines 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/github-script@0.9.0
79+
with:
80+
script: console.log(context)
81+
```
82+
7483
### Comment on an issue
7584

7685
```yaml

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.