Skip to content

Commit 32f412d

Browse files
authored
✨ Non workflow commits [Backport release/0.2.z] (#26)
# Description Backport of #25 to `release/0.2.z`.
2 parents 0e2aca6 + 0e5c64e commit 32f412d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/pr/src/prefix.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ use regex::Regex;
66

77
use crate::error::Result;
88

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

128129
#[test]
130+
//test title validation
129131
fn title_cases() {
130132
let test_cases = vec![
131133
TestCase {

0 commit comments

Comments
 (0)