Skip to content

Respond to Review Comments #7

Respond to Review Comments

Respond to Review Comments #7

Workflow file for this run

name: Respond to Review Comments
on:
pull_request_review_comment:
types: [created]
jobs:
respond-to-comment:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Respond to Review Comment
env:
COMMENT_ID: ${{ github.event.comment.id }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO: ${{ github.repository }}
run: |
curl -X POST \
-H "Authorization: token $GITHUB_TOKEN" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/$REPO/pulls/comments/$COMMENT_ID \
-d '{"body": "Thanks for your reply!"}'