From 451ad1c993f03d82eb28c4286160729312ca82fe Mon Sep 17 00:00:00 2001 From: Tarepan Date: Tue, 10 Sep 2019 04:13:32 +0900 Subject: [PATCH] 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 --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9f244cb11..a1ec82b16 100644 --- a/README.md +++ b/README.md @@ -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: