Skip to content

Add comment

Add comment #5

name: Add comment
on:
issues:
types:
- opened
jobs:
add-comment:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Add comment
run: gh issue comment "$NUMBER" --body "$BODY"
env:
GH_TOKEN: ${{ secrets.THE_OCTO_SECRET }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.issue.number }}
BODY: >
Thank you for raising an issue! 🎉