Skip to content

Commit

Permalink
change scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry-Hong committed Oct 24, 2024
1 parent 7d46f08 commit da7f1f9
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/on-issue-opened.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,24 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
console.log(context)
return
github.rest.pulls.listCommentsForReview({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.pull.number,
body: '👋 Thanks for the comment!',
})
github.rest.pulls.listReviewComments({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.issue.number,
})
# pulls.listCommentsForReview({
# owner,
# repo,
# pull_number,
# review_id,
# });

0 comments on commit da7f1f9

Please sign in to comment.