From 97fd3f1973a3497c831a9e023225a4629716f9d3 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Sat, 9 May 2020 13:09:30 -0400 Subject: [PATCH] fix: Example YAML schema to match Actions Docs Both ways should be valid, but the regular nested YAML keys seems to be the format of the regular GitHub Actions docs --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 262fe40..7de7ec5 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,8 @@ By default, github-script will use the token provided to your workflow. ```yaml on: - issues: {types: opened} + issues: + types: [opened] jobs: comment: @@ -59,7 +60,8 @@ jobs: ```yaml on: - issues: {types: opened} + issues: + types: [opened] jobs: apply-label: