diff --git a/lib/tasks/release-notes.js b/lib/tasks/release-notes.js index 61e701307..5bc6fbbcf 100644 --- a/lib/tasks/release-notes.js +++ b/lib/tasks/release-notes.js @@ -3,7 +3,7 @@ module.exports = async (ctx, task) => { let response; try { - response = await got('https://api.github.com/repos/TryGhost/Ghost/releases', {json: true}); + response = await got('https://api.github.com/repos/TryGhost/Ghost/releases', {json: true, timeout: 5000}); } catch (err) { task.title = 'Unable to fetch release notes'; return;