mirror of
https://github.com/actions/github-script.git
synced 2026-02-08 03:57:27 +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.
|
||||
|
||||
**Note** This action is still a bit of an experiment—the API may change in
|
||||
*future versions. 🙂
|
||||
\*future versions. 🙂
|
||||
|
||||
## Examples
|
||||
|
||||
|
|
@ -27,7 +27,8 @@ documentation.
|
|||
|
||||
```yaml
|
||||
on:
|
||||
issue: {type: opened}
|
||||
issues:
|
||||
types: [opened]
|
||||
|
||||
jobs:
|
||||
comment:
|
||||
|
|
@ -44,7 +45,8 @@ jobs:
|
|||
|
||||
```yaml
|
||||
on:
|
||||
issue: {type: opened}
|
||||
issues:
|
||||
types: [opened]
|
||||
|
||||
jobs:
|
||||
apply-label:
|
||||
|
|
|
|||
Loading…
Reference in a new issue