fix: Example YAML schema to match Actions Docs

Both ways should be valid, but the regular nested YAML keys seems to be the format of the regular GitHub Actions docs
This commit is contained in:
Nick Schonning
2020-05-09 13:09:30 -04:00
committed by GitHub
parent 648bc46b8a
commit 97fd3f1973

View File

@@ -37,7 +37,8 @@ By default, github-script will use the token provided to your workflow.
```yaml
on:
issues: {types: opened}
issues:
types: [opened]
jobs:
comment:
@@ -59,7 +60,8 @@ jobs:
```yaml
on:
issues: {types: opened}
issues:
types: [opened]
jobs:
apply-label: