name: Greetings

on: [pull_request, issues]

jobs:
  greeting:
    runs-on: ubuntu-latest
    permissions:
      issues: write
      pull-requests: write
    steps:
    - uses: actions/first-interaction@v1
      with:
        repo-token: ${{ secrets.GITHUB_TOKEN }}
        issue-message: 'Welcome! Thanks for making your FIRST issue in this repo. We hope you will stick around and possibly drop a few contributions!'
        pr-message: 'Welcome! Thanks for making your FIRST PR in this repo. We really appreciate it.'
