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: 'Hi @${{ github.actor }} Thanks for opening this issue :tada: You should receive a response soon.'
        pr-message: 'Hi @${{ github.event.pull_request.user.login }} Thank you for taking your time and effort for this contribution :100: it really helps us :tada:'
