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: 'Hi! Thank you so much for creating an issue. I will do my best to get back to you as soon as possible :) If you need to get in contact with me in the meantime, you can ping me on Twitter @davewritescodes'
        pr-message: 'Hi! Thank you so much for opening a PR. I will do my best to review it as soon as possible :) If you need to get in contact with me in the meantime, you can ping me on Twitter @davewritescodes'
