Skip to content

Commit

Permalink
fix: run plugins on archived repos (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshallOfSound authored Sep 10, 2024
1 parent d42f1c6 commit d0396aa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/permissions/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,11 @@ async function main() {
// be in our config in case it becomes un-archived
if (!octoRepo.archived) {
reposToCheck.push(repo);
} else {
// Even archived repos need to have the plugins run on them
for (const plugin of plugins) {
await plugin.handleRepo?.(repo, config.teams, builder);
}
}
}

Expand Down

0 comments on commit d0396aa

Please sign in to comment.