mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
automod: don't generate summary if doing a silentClean
This commit is contained in:
parent
ac714ea307
commit
e55a1e3bd6
1 changed files with 8 additions and 8 deletions
|
@ -44,14 +44,6 @@ export async function runAutomod(pluginData: PluginData<AutomodPluginType>, cont
|
|||
_context.actioned = true;
|
||||
}
|
||||
|
||||
matchResult.summary = await trigger.renderMatchInformation({
|
||||
ruleName,
|
||||
pluginData,
|
||||
contexts,
|
||||
matchResult,
|
||||
triggerConfig,
|
||||
});
|
||||
|
||||
if (matchResult.silentClean) {
|
||||
await CleanAction.apply({
|
||||
ruleName,
|
||||
|
@ -63,6 +55,14 @@ export async function runAutomod(pluginData: PluginData<AutomodPluginType>, cont
|
|||
return;
|
||||
}
|
||||
|
||||
matchResult.summary = await trigger.renderMatchInformation({
|
||||
ruleName,
|
||||
pluginData,
|
||||
contexts,
|
||||
matchResult,
|
||||
triggerConfig,
|
||||
});
|
||||
|
||||
break triggerLoop;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue