Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions pkg/pr/src/prefix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ use regex::Regex;

use crate::error::Result;

//these prefixes in the PR title prevent validation failure
const PREFIX_FEATURE: (&str, &str) = (":sparkles:", "✨");
const PREFIX_BUG_FIX: (&str, &str) = (":bug:", "🐛");
const PREFIX_DOCS: (&str, &str) = (":book:", "📖");
Expand Down Expand Up @@ -126,6 +127,7 @@ mod tests {
}

#[test]
//test title validation
fn title_cases() {
let test_cases = vec![
TestCase {
Expand Down
Loading