Add transcript line workflow rules
PR and Push Build/Test / build-and-test (push) Failing after 13m27s

This commit is contained in:
2026-06-03 11:24:11 +02:00
parent 50daa88389
commit 40853115c5
20 changed files with 627 additions and 70 deletions
@@ -0,0 +1,19 @@
namespace MeetingAssistant.Tests;
internal static class MeetingWorkflowTestRules
{
public const string MaskedProfanityRedactionYaml =
"""
rules:
- name: redact-masked-profanity
on:
- transcript_line: {}
if:
- condition: contains(transcript.line, '*****')
- condition: transcript.speaker = 'Guest-1'
steps:
- uses: set_property
property: transcript.line
value: '@Model.Transcript.Line.Replace("*****", "[redacted]")'
""";
}