File tree Expand file tree Collapse file tree 2 files changed +10
-25
lines changed
Expand file tree Collapse file tree 2 files changed +10
-25
lines changed Original file line number Diff line number Diff line change 1+ name : " Comment on Issue"
2+ description : " Posts a comment on a given issue"
3+
4+ inputs :
5+ issue_number :
6+ description : " The issue number to comment on"
7+ required : true
8+
19runs :
210 using : " composite"
311 steps :
412 - uses : actions/github-script@v8
5- env :
6- ISSUE_NUMBER : ${{ inputs.issue_number }}
713 with :
814 script : |
9- const issue_number = parseInt(process.env.ISSUE_NUMBER, 10);
10-
15+ const issue_number = parseInt('${{ inputs.issue_number }}', 10);
1116 await github.issues.createComment({
1217 ...context.repo,
1318 issue_number,
14- body: "👋, Thank you for opening this issue! We will look into it as soon as possible."
19+ body: "👋 Thank you for opening this issue! We will look into it as soon as possible."
1520 });
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments