name: Issue commenter

on:
  issues:
    types: [opened]

jobs:
  comment:
    runs-on: ubuntu-latest
    
    steps:
      - name: "Dump context"
        run: echo '${{ toJSON(github.event) }}' | jq
        shell: bash

      - name: "Create comment"
        uses: peter-evans/create-or-update-comment@v1
        with:
          issue-number: ${{ github.event.issue.number }}
          body: |
            Thank you for your contribution
            - The maintainer will take a look at this soon
