8000 Merge pull request #46 from nschonni/patch-1 · MikhailTH/github-script@1bc9cbe · GitHub
[go: up one dir, main page]

Skip to content

Commit 1bc9cbe

Browse files
authored
Merge pull request actions#46 from nschonni/patch-1
fix: Example YAML schema to match Actions Docs
2 parents 648bc46 + 97fd3f1 commit 1bc9cbe

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ By default, github-script will use the token provided to your workflow.
3737

3838
```yaml
3939
on:
40-
issues: {types: opened}
40+
issues:
41+
types: [opened]
4142

4243
jobs:
4344
comment:
@@ -59,7 +60,8 @@ jobs:
5960
6061
```yaml
6162
on:
62-
issues: {types: opened}
63+
issues:
64+
types: [opened]
6365

6466
jobs:
6567
apply-label:

0 commit comments

Comments
 (0)
0