add CHANGELOG.md + basic script to generate
This commit is contained in:
parent
afbcaa54d0
commit
405338e4f0
2 changed files with 102 additions and 0 deletions
14
warm.js
Normal file
14
warm.js
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
fetch('https://codeberg.org/api/v1/repos/uzu/strudel/pulls?state=closed&page=1')
|
||||
.then((res) => res.json())
|
||||
.then((pulls) => {
|
||||
const r = pulls
|
||||
.filter((pull) => pull.merged)
|
||||
.sort((a, b) => new Date(b.closed_at) - new Date(a.closed_at))
|
||||
.map((pull) => `${pull.closed_at} ${pull.title} by ${pull.user.login || '?'} in: [#${pull.number}](${pull.url}) `)
|
||||
.join('\n');
|
||||
console.log(r);
|
||||
});
|
||||
|
||||
/*
|
||||
|
||||
*/
|
||||
Loading…
Add table
Add a link
Reference in a new issue