Compare commits

...

2 Commits

Author SHA1 Message Date
259d292b97 Add 2nd archive repo to the allowlist 2026-01-15 14:59:34 +01:00
d7752c9319 Add SIGTERM handler 2026-01-15 10:00:05 +01:00
2 changed files with 6 additions and 1 deletions

View File

@@ -47,6 +47,7 @@ const appFn: ApplicationFunction = (app: Probot) => {
const repoAllowlist = [ const repoAllowlist = [
{ owner: 'mackorone', repo: 'spotify-playlist-archive' }, { owner: 'mackorone', repo: 'spotify-playlist-archive' },
{ owner: 'mackorone', repo: 'spotify-playlist-archive-2' },
{ owner: 'maciejpedzich', repo: 'bot-testing-ground' } { owner: 'maciejpedzich', repo: 'bot-testing-ground' }
]; ];

View File

@@ -1,4 +1,8 @@
import { run } from 'probot'; import { run } from 'probot';
import appFn from './appFn'; import appFn from './appFn';
run(appFn); run(appFn).then((server) => {
process.on('SIGTERM', async () => {
await server.stop();
});
});