Skip to content

sample commit

sample commit #12

name: on issue opened
on:
issue_comment:
types: [created]
jobs:
comment:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const result = await github.rest.pulls.listReviewComments({
owner: 'Henry-Hong',
repo: 'i-am-not-a-junior-frontend',
pull_number: 2,
});
console.log(result);
# github.rest.pulls.listReviewComments({
# owner: context.repo.owner,
# repo: context.repo.repo,
# pull_number: context.issue.number,
# })
# owner,
# repo,
# pull_number,
# review_id,