DOC: adjust the example to show a full yaml file
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user