You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
contextInfo = `This TODO was automatically detected by the TODO Creeper action in commit ${context.sha.substring(0, 7)} on branch ${context.ref.replace('refs/heads/', '')}.`;
32131
+
} else {
32132
+
contextInfo = `This TODO was automatically detected by the TODO Creeper action.`;
32133
+
}
32134
+
32103
32135
const body = `## TODO Item
32104
32136
32105
32137
**File:** \`${todo.file}\`
@@ -32112,7 +32144,7 @@ ${todo.content.trim()}
32112
32144
\`\`\`
32113
32145
32114
32146
**Context:**
32115
-
This TODO was automatically detected by the TODO Creeper action in pull request #${context.payload.pull_request.number}.
32147
+
${contextInfo}
32116
32148
32117
32149
**Action Required:**
32118
32150
Please review this TODO and either:
@@ -32123,14 +32155,20 @@ Please review this TODO and either:
32123
32155
---
32124
32156
*This issue was automatically created by [TODO Creeper](https://github.com/Gustrb/todo-creeper)*`;
contextInfo=`This TODO was automatically detected by the TODO Creeper action in commit ${context.sha.substring(0,7)} on branch ${context.ref.replace('refs/heads/','')}.`;
295
+
}else{
296
+
contextInfo=`This TODO was automatically detected by the TODO Creeper action.`;
297
+
}
298
+
267
299
constbody=`## TODO Item
268
300
269
301
**File:** \`${todo.file}\`
@@ -276,7 +308,7 @@ ${todo.content.trim()}
276
308
\`\`\`
277
309
278
310
**Context:**
279
-
This TODO was automatically detected by the TODO Creeper action in pull request #${context.payload.pull_request.number}.
311
+
${contextInfo}
280
312
281
313
**Action Required:**
282
314
Please review this TODO and either:
@@ -287,14 +319,20 @@ Please review this TODO and either:
287
319
---
288
320
*This issue was automatically created by [TODO Creeper](https://github.com/Gustrb/todo-creeper)*`;
0 commit comments