GHA-280 Accept Slack Channel IDs (not add "#" in front of them).#140
GHA-280 Accept Slack Channel IDs (not add "#" in front of them).#140nils-werner-sonarsource merged 1 commit intomasterfrom
Conversation
SummaryThis PR extends the Slack channel input to accept both channel names (e.g., What reviewers should knowKey change: Look at Edge case to be aware of: If someone manually names a Slack channel something like "C1234ABCD" (matching the channel ID format) AND passes it without Tests to review: The new test cases in
|
|



Add a regexp validation for Slack channel id format to avoid adding
#in front of them. It wouldn't break existing logic with the exception of an edge case when someone explicitly names a channel something like "C1234ABCD" AND passes it without#, which is not very likely based on company convention.