From 6dc4929aa5fcee851d9851cb13997f0ee0b6e533 Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Tue, 22 Dec 2020 17:20:57 -0500 Subject: [PATCH] DOC: adjust the example to show a full yaml file --- README.md | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 5a27499..1ca471f 100644 --- a/README.md +++ b/README.md @@ -7,12 +7,20 @@ An action for filtering pull requests and issues from first-time contributors. See [action.yml](action.yml) ```yaml -steps: -- uses: actions/first-interaction@v1 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - issue-message: '# Message with markdown.\nThis is the message that will be displayed on users' first issue.' - pr-message: 'Message that will be displayed on users' first pr. Look, a `code block` for markdown.' +name: Greetings + +on: [pull_request, issues] + +jobs: + 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