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:
Tarepan 2019-09-10 04:13:32 +09:00
parent e5da67d395
commit 451ad1c993

View file

@ -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: