@@ -49,7 +49,7 @@ pub(crate) struct Config {
4949 #[ serde( alias = "canonicalize-issue-links" ) ]
5050 pub ( crate ) issue_links : Option < IssueLinksConfig > ,
5151 pub ( crate ) no_mentions : Option < NoMentionsConfig > ,
52- pub ( crate ) pr_behind_commits : Option < PRBehindCommitsConfig > ,
52+ pub ( crate ) commits_behind_master : Option < CommitsBehindMasterConfig > ,
5353}
5454
5555#[ derive( PartialEq , Eq , Debug , serde:: Deserialize ) ]
@@ -431,7 +431,7 @@ pub(crate) struct NoMentionsConfig {}
431431/// Configuration for PR behind commits checks
432432#[ derive( PartialEq , Eq , Debug , serde:: Deserialize ) ]
433433#[ serde( deny_unknown_fields) ]
434- pub ( crate ) struct PRBehindCommitsConfig {
434+ pub ( crate ) struct CommitsBehindMasterConfig {
435435 /// The threshold of commits behind master to trigger a warning.
436436 /// Default is 100 if not specified.
437437 pub ( crate ) threshold : Option < u32 > ,
@@ -628,7 +628,7 @@ mod tests {
628628 } ) ,
629629 issue_links: Some ( IssueLinksConfig { } ) ,
630630 no_mentions: Some ( NoMentionsConfig { } ) ,
631- pr_behind_commits : None ,
631+ commits_behind_master : None ,
632632 }
633633 ) ;
634634 }
@@ -696,7 +696,7 @@ mod tests {
696696 rendered_link: None ,
697697 issue_links: Some ( IssueLinksConfig { } ) ,
698698 no_mentions: None ,
699- pr_behind_commits : None ,
699+ commits_behind_master : None ,
700700 }
701701 ) ;
702702 }
0 commit comments