Skip to content

Commit 54297cc

Browse files
authored
Add extra template check for new field (#78)
1 parent c55f721 commit 54297cc

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎src/bin/pr-metadata-validator.rs‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,9 @@ async fn validate_pr(
281281
.body
282282
.contains("Ask any questions you have for your reviewer.")
283283
|| pr_in_question.body.contains("- [ ]")
284+
|| pr_in_question
285+
.body
286+
.contains("Replace this line with the Task code (e.g. CYF-0000).")
284287
{
285288
return Ok(ValidationResult::BodyTemplateNotFilledOut);
286289
}

0 commit comments

Comments
 (0)