Skip to content

Commit b55ef9c

Browse files
authored
Update custom-mention.yml
1 parent b5ece08 commit b55ef9c

1 file changed

Lines changed: 5 additions & 10 deletions

File tree

.github/workflows/custom-mention.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,11 @@ jobs:
2020
script: |
2121
const { owner, repo } = context.repo;
2222
const issueNumber = context.issue.number;
23-
const opener = context.payload.sender.login; // the user who opened
24-
25-
const body = `Hello @${opener},
26-
27-
First off thanks for showing interest in our project.
28-
29-
Your request will be reviewed by @nodex-ar soon as he becomes free.
30-
31-
Once again thanks and just leave us a star and help us !`;
32-
23+
const opener = context.payload.sender.login;
24+
const body = "Hello @" + opener + ",\n" +
25+
"First off thanks for showing interest in our project.\n\n" +
26+
"Your request will be reviewed by @nodex-ar soon as he becomes free.\n\n" +
27+
"Once again thanks and just leave us a star and help us !";
3328
await github.rest.issues.createComment({
3429
owner,
3530
repo,

0 commit comments

Comments
 (0)