Skip to content

Commit

Permalink
chore: logs
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlementlegen committed Dec 22, 2024
1 parent 25e9179 commit 58a9739
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/github/utils/plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { Value } from "@sinclair/typebox/value";
const _manifestCache: Record<string, Manifest> = {};

export function getPluginsForEvent(plugins: PluginConfiguration["plugins"], event: EmitterWebhookEventName) {
console.log("getPluginsForEvent", plugins, event);
return plugins.filter((plugin) => {
return plugin.uses?.[0].runsOn?.includes(event);
});
Expand Down

0 comments on commit 58a9739

Please sign in to comment.