Skip to content

Commit

Permalink
chore: changed logic to default skipBotEvents setting
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlementlegen committed Jan 20, 2025
1 parent 614ad9a commit 9124733
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/github/utils/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,9 @@ export async function getConfig(context: GitHubContext): Promise<PluginConfigura

for (const plugin of mergedConfiguration.plugins) {
const manifest = await getManifest(context, plugin.uses[0].plugin);
if (manifest && !plugin.uses[0].runsOn.length) {
if (manifest) {
plugin.uses[0].runsOn = manifest["ubiquity:listeners"] ?? [];
plugin.uses[0].skipBotEvents = manifest.skipBotEvents ?? plugin.uses[0].skipBotEvents;
}
}
return mergedConfiguration;
Expand Down

0 comments on commit 9124733

Please sign in to comment.