mirror of
https://github.com/actions/github-script.git
synced 2026-02-07 19:47:26 +00:00
Merge pull request #46 from nschonni/patch-1
fix: Example YAML schema to match Actions Docs
This commit is contained in:
commit
1bc9cbef6c
1 changed files with 4 additions and 2 deletions
|
|
@ -37,7 +37,8 @@ By default, github-script will use the token provided to your workflow.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
on:
|
on:
|
||||||
issues: {types: opened}
|
issues:
|
||||||
|
types: [opened]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
comment:
|
comment:
|
||||||
|
|
@ -59,7 +60,8 @@ jobs:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
on:
|
on:
|
||||||
issues: {types: opened}
|
issues:
|
||||||
|
types: [opened]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
apply-label:
|
apply-label:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue