Skip to content

Commit

Permalink
fix: handleScheduledRepository to skip suspended repositories (#5539)
Browse files Browse the repository at this point in the history
b/375002190
  • Loading branch information
suztomo authored Oct 24, 2024
1 parent fe37591 commit bf770a1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/gcf-utils/src/gcf-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,14 @@ export class GCFBootstrapper {
continue;
}
}

log.info(
`Installation: ${installation.login}(${installation.targetType},
suspended:${installation.suspended})`
);
if (installation.suspended) {
log.info("Skipping this installation because it's suspended");
continue;
}
const generator = eachInstalledRepository(installation.id, wrapConfig);
const extraParams: Scheduled = {
installation: {
Expand Down

0 comments on commit bf770a1

Please sign in to comment.