You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let full_message = format!("{message}\n\nIf this PR is not coursework, please add the NotCoursework label (and message on Slack in #cyf-curriculum or it will probably not be noticed).");
82
+
eprintln!("{}", full_message);
83
+
octocrab
84
+
.issues(github_org_name, module_name)
85
+
.create_comment(pr_number, full_message)
86
+
.await
87
+
.expect("Failed to create comment with validation error");
88
+
exit(2);
108
89
}
109
90
110
91
constCOULD_NOT_MATCH_COMMENT:&str = r#"Your PR couldn't be matched to an assignment in this module.
111
92
112
-
Please check its title is in the correct format, and that you only have one PR per assignment.
113
-
114
-
If this PR is not coursework, please add the NotCoursework label (and message on Slack in #cyf-curriculum or it will probably not be noticed)."#;
93
+
Please check its title is in the correct format, and that you only have one PR per assignment."#;
115
94
116
95
constBODY_TEMPLATE_NOT_FILLED_IN_COMMENT:&str = r#"Your PR description contained template fields which weren't filled in.
0 commit comments