Skip to content
Snippets Groups Projects
Commit f7bc39ef authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix(github): don’t keep processing resource not accessible

parent a518c134
No related branches found
No related tags found
No related merge requests found
......@@ -307,6 +307,10 @@ async function processBranch(branchConfig, prHourlyLimitReached, packageFiles) {
logger.debug('Passing disk-space error up');
throw err;
}
if (err.message.startsWith('Resource not accessible by integration')) {
logger.debug('Passing 403 error up');
throw err;
}
if (err.message === 'update-failure') {
logger.warn('Error updating branch: update failure');
} else if (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment