mirror of
https://github.com/actions/github-script.git
synced 2025-12-21 15:22:30 +00:00
Merge pull request #46 from nschonni/patch-1
fix: Example YAML schema to match Actions Docs
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user