Skip to content

Commit bb3f443

Browse files
committed
Fix subject tags
1 parent f45ca0d commit bb3f443

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

AWS/Lambda/PREmailer/pr_emailer.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,8 @@ def lambda_handler(event, context):
398398
if 'MAIL_TO' in os.environ:
399399
mail_to = os.environ.get('MAIL_TO')
400400
# Setup the mail Subject
401-
subject = f"{pr_title} (PR #{pr_number})"
401+
subject_tag = ' '.join(['[{}]'.format(p) for p in project_list])
402+
subject = f"{subject_tag} {pr_title} (PR #{pr_number})"
402403

403404
# validate cors access
404405
cors = ''

0 commit comments

Comments
 (0)