Skip to content

Commit

Permalink
change
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry-Hong committed Oct 25, 2024
1 parent 7b145f3 commit 15a81ef
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 3 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/on-issue-comment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: on-issue-comment

on:
issue_comment:
types: [created, edited, deleted]

jobs:
comment:
runs-on: ubuntu-latest
steps:
- name: echo
run: echo ${{ github.event.issue.body }}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: on issue opened
name: on pull request review comment

on:
pull_request_review_comment:
Expand All @@ -25,8 +25,6 @@ jobs:
const recentComment = result.data?.at(-1).body;
console.log('😎', recentComment);
if(recentComment.includes('NTC')) return true;
else return false;
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/on-pull-request-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: on-pull-request-review

on:
pull_request_review:
types: [submitted, dismissed]

jobs:
review:
runs-on: ubuntu-latest
steps:
- name: echo
run: echo ${{ github.event.review.body }}

0 comments on commit 15a81ef

Please sign in to comment.