File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 "projectName" : " devsnorte-landing-page" ,
3131 "projectOwner" : " devsnorte"
3232}
33-
Original file line number Diff line number Diff line change @@ -98,13 +98,19 @@ jobs:
9898
9999 var body = `@all-contributors please add @${pr.user.login} for ${[...contributions].join()}`;
100100
101- if (!contributor) {
102- body += `\n\nThis is pure magic 🪄! @holopin-bot @${pr.user.login} wizard`;
103- }
104-
105101 console.log(`Adding comment: ${body}`);
106102 await github.rest.issues.createComment({
107103 owner, repo,
108104 issue_number: pr.number,
109105 body,
110106 });
107+
108+ if (!contributor) {
109+ var magicBody = `This is pure magic 🪄! @holopin-bot @${pr.user.login} wizard`;
110+ console.log(`Adding comment: ${magicBody}`);
111+ await github.rest.issues.createComment({
112+ owner, repo,
113+ issue_number: pr.number,
114+ body: magicBody,
115+ });
116+ }
You can’t perform that action at this time.
0 commit comments