def validate_channel()

in bots/sdlc-slackbot/sdlc_slackbot/config.py [0:0]


def validate_channel(channel_id: str) -> str:
    if not channel_id.startswith("C"):
        raise ValueError("channel ID must start with 'C'")
    return channel_id