DOC: adjust the example to show a full yaml file

This commit is contained in:
Thomas A Caswell
2020-12-22 17:20:57 -05:00
parent bd33205aa5
commit 6dc4929aa5
+14 -6
View File
@@ -7,12 +7,20 @@ An action for filtering pull requests and issues from first-time contributors.
See [action.yml](action.yml) See [action.yml](action.yml)
```yaml ```yaml
steps: name: Greetings
- uses: actions/first-interaction@v1
with: on: [pull_request, issues]
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: '# Message with markdown.\nThis is the message that will be displayed on users' first issue.' jobs:
pr-message: 'Message that will be displayed on users' first pr. Look, a `code block` for markdown.' greeting:
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: 'Message that will be displayed on users'' first issue'
pr-message: 'Message that will be displayed on users'' first pr'
``` ```
# License # License