1
0
Fork 0

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.
pull/866/head
Even Alander 2019-09-24 19:49:11 +02:00 committed by Danny McCormick
parent 4897b2cd3b
commit 547d771ca3
1 changed files with 9 additions and 9 deletions

View File

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