Skip to content

Commit 0cd8f7c

Browse files
committed
infra: use 'React to comment' from Github
1 parent 9e3599a commit 0cd8f7c

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/diff-report.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,17 @@ jobs:
4747
commit_sha: ${{ steps.branch.outputs.commit_sha }}
4848

4949
steps:
50-
- uses: shanegenschaw/pull-request-comment-trigger@v3.0.0
51-
name: React with rocket on run
50+
- name: React to comment
51+
uses: actions/github-script@v8
5252
with:
53-
trigger: ','
54-
reaction: rocket
55-
env:
56-
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
57-
58-
- run: 'echo without this pull-request-comment-trigger causes all further steps be skipped'
59-
if: 'true'
53+
github-token: ${{secrets.GITHUB_TOKEN}}
54+
script: |
55+
github.rest.reactions.createForIssueComment({
56+
owner: context.repo.owner,
57+
repo: context.repo.repo,
58+
comment_id: context.payload.comment.id,
59+
content: 'rocket'
60+
})
6061
6162
- name: Checkout repository
6263
uses: actions/checkout@v6

config/jsoref-spellchecker/whitelist.words

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1243,7 +1243,6 @@ SERIALVERSIONUID
12431243
servlet
12441244
severitymatchfilter
12451245
sevntu
1246-
shanegenschaw
12471246
shasum
12481247
shellcheck
12491248
shengchen

0 commit comments

Comments
 (0)