name: Greetings

on: [pull_request_target, issues]

permissions:
  pull-requests: write
  issues: write

jobs:
  greeting:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/first-interaction@v1
        continue-on-error: true
        with:
          repo-token: ${{ secrets.PAT_TOKEN }}
          issue-message: "Thanks for reporting this issue, don't forget to star this project if you haven't already to help us reach a wider audience."
          pr-message: "Thanks for implementing a fix, could you ensure that the test covers your changes if applicable."
