We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0e2aca6 + 0e5c64e commit 32f412dCopy full SHA for 32f412d
pkg/pr/src/prefix.rs
@@ -6,6 +6,7 @@ use regex::Regex;
6
7
use crate::error::Result;
8
9
+//these prefixes in the PR title prevent validation failure
10
const PREFIX_FEATURE: (&str, &str) = (":sparkles:", "✨");
11
const PREFIX_BUG_FIX: (&str, &str) = (":bug:", "🐛");
12
const PREFIX_DOCS: (&str, &str) = (":book:", "📖");
@@ -126,6 +127,7 @@ mod tests {
126
127
}
128
129
#[test]
130
+ //test title validation
131
fn title_cases() {
132
let test_cases = vec![
133
TestCase {
0 commit comments