misc: include attachments in grepped strings (#87783)
gitea/wcs/pipeline/head This commit looks good
Details
gitea/wcs/pipeline/head This commit looks good
Details
This commit is contained in:
parent
00584bff12
commit
c03d216a70
|
@ -184,6 +184,7 @@ class RegisterCommenterWorkflowStatusItem(WorkflowStatusItem):
|
|||
yield from super().get_computed_strings()
|
||||
if not self.comment_template:
|
||||
yield self.comment
|
||||
yield from (self.attachments or [])
|
||||
|
||||
def migrate(self):
|
||||
changed = super().migrate()
|
||||
|
|
|
@ -238,6 +238,7 @@ class SendmailWorkflowStatusItem(WorkflowStatusItem):
|
|||
yield self.body
|
||||
if self.to:
|
||||
yield from self.to
|
||||
yield from (self.attachments or [])
|
||||
|
||||
def perform(self, formdata, ignore_i18n=False):
|
||||
if not self.to:
|
||||
|
|
Loading…
Reference in New Issue