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: 'Thank you for createing this issue. We will check it as soon as possible.'
        pr-message: 'Thank you for your pull request. We will check it as soon as possible.'
