Skip to content

Commit 155b871

Browse files
committed
update script
1 parent cdd5ba1 commit 155b871

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/actions/comment-on-issue/action.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,11 @@ runs:
55
env:
66
ISSUE_NUMBER: ${{ inputs.issue_number }}
77
with:
8-
script-file: .github/scripts/comment.js
8+
script: |
9+
const issue_number = parseInt(process.env.ISSUE_NUMBER, 10);
10+
11+
await github.issues.createComment({
12+
...context.repo,
13+
issue_number,
14+
body: "👋, Thank you for opening this issue! We will look into it as soon as possible."
15+
});

0 commit comments

Comments
 (0)