From 547d771ca39dff16767a073ba8170a1d4ad4ced9 Mon Sep 17 00:00:00 2001 From: Even Alander Date: Tue, 24 Sep 2019 19:49:11 +0200 Subject: [PATCH] Error in yaml (#158) The word `you're` in the yaml example made the parsing fail, which baffled me for a while. One fix is to use `"` quotes. --- docs/github-package.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/github-package.md b/docs/github-package.md index 467d1c18..d91fb62b 100644 --- a/docs/github-package.md +++ b/docs/github-package.md @@ -21,19 +21,19 @@ All of the dependencies we need should come packaged for us in this library's co Next, we will need a welcome message and a repo token as an input. Recall that inputs are defined in the `action.yml` metadata file - update your `action.yml` file to define `welcome-message` and `repo-token` as inputs. ```yaml -name: 'Welcome' -description: 'A basic welcome action' -author: 'GitHub' -inputs: +name: "Welcome" +description: "A basic welcome action" +author: "GitHub" +inputs: welcome-message: - description: 'Message to display when a user opens an issue or PR' - default: 'Thanks for opening an issue! Make sure you've followed CONTRIBUTING.md' + description: "Message to display when a user opens an issue or PR" + default: "Thanks for opening an issue! Make sure you've followed CONTRIBUTING.md" repo-token: - description: 'Token for the repo. Can be passed in using {{ secrets.GITHUB_TOKEN }}' + description: "Token for the repo. Can be passed in using {{ secrets.GITHUB_TOKEN }}" required: true runs: - using: 'node12' - main: 'lib/main.js' + using: "node12" + main: "lib/main.js" ``` ## Action logic