mirror of https://github.com/CGAL/cgal
Update wiki_notification.yml
Add a link to the diff of the wiki page
This commit is contained in:
parent
47a7eafdba
commit
2a1e8ecdd6
|
|
@ -19,9 +19,9 @@ jobs:
|
|||
const pages = payload.pages;
|
||||
let messages = "Subject:Updates to CGAL Wiki \nContent-Type: text/html\n";
|
||||
messages += "<html><body>";
|
||||
messages += `<p>The following CGAL Wiki page were modified by <a href="${actor.html_url}">"${actor.login}"</a></p><ul>\n`
|
||||
messages += `<p>The following CGAL Wiki page were modified by <a href="${actor.html_url}">"${actor.login}"</a>:</p><ul>\n`
|
||||
for (const page of pages){
|
||||
messages += `<li><a href="${page.html_url}"> ${page.title}</a></li>\n`;
|
||||
messages += `<li><a href="${page.html_url}">${page.title}</a> (link to <a href="${page.html_url}/_compare/${page.sha}%5E...${page.sha}">the diff</a>)</li>\n`;
|
||||
}
|
||||
messages += "</ul></body></html>";
|
||||
console.log( messages );
|
||||
|
|
|
|||
Loading…
Reference in New Issue