mirror of
https://github.com/actions/github-script.git
synced 2026-02-08 12:07:26 +00:00
Fix broken examples
Fix example actions, which do not run because of syntax error. Error is below. Invalid Workflow File DETAILS issue is not a valid event name
This commit is contained in:
parent
e5da67d395
commit
451ad1c993
1 changed files with 5 additions and 3 deletions
|
|
@ -19,7 +19,7 @@ See [octokit/rest.js](https://octokit.github.io/rest.js/) for the API client
|
||||||
documentation.
|
documentation.
|
||||||
|
|
||||||
**Note** This action is still a bit of an experiment—the API may change in
|
**Note** This action is still a bit of an experiment—the API may change in
|
||||||
*future versions. 🙂
|
\*future versions. 🙂
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
|
|
@ -27,7 +27,8 @@ documentation.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
on:
|
on:
|
||||||
issue: {type: opened}
|
issues:
|
||||||
|
types: [opened]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
comment:
|
comment:
|
||||||
|
|
@ -44,7 +45,8 @@ jobs:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
on:
|
on:
|
||||||
issue: {type: opened}
|
issues:
|
||||||
|
types: [opened]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
apply-label:
|
apply-label:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue