OPENNLP-1503 - Configure auto generated subject lines in mail templates from GH
diff --git a/.asf.yaml b/.asf.yaml
index f7c6372..0ab7ee7 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -1,6 +1,27 @@
github:
description: "Website sources for the Apache OpenNLP website"
homepage: https://opennlp.apache.org/
+ protected_branches:
+ # Prevent force pushes to primary branches
+ main: { }
+ custom_subjects:
+ new_pr: "[PR] {title} ({repository})"
+ close_pr: "Re: [PR] {title} ({repository})"
+ comment_pr: "Re: [PR] {title} ({repository})"
+ diffcomment: "Re: [PR] {title} ({repository})"
+ merge_pr: "Re: [PR] {title} ({repository})"
+ new_issue: "[I] {title} ({repository})"
+ comment_issue: "Re: [I] {title} ({repository})"
+ close_issue: "Re: [I] {title} ({repository})"
+ catchall: "[GH] {title} ({repository})"
+ new_discussion: "[D] {title} ({repository})"
+ edit_discussion: "Re: [D] {title} ({repository})"
+ close_discussion: "Re: [D] {title} ({repository})"
+ close_discussion_with_comment: "Re: [D] {title} ({repository})"
+ reopen_discussion: "Re: [D] {title} ({repository})"
+ new_comment_discussion: "Re: [D] {title} ({repository})"
+ edit_comment_discussion: "Re: [D] {title} ({repository})"
+ delete_comment_discussion: "Re: [D] {title} ({repository})"
labels:
- apache
- opennlp