mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-31 11:52:10 +00:00
Improve notifications for WIP draft PR's (#14663)
* #14559 Reduce amount of email notifications for WIP draft PR's don't notify repo watchers of WIP draft PR's * #13190 Notification when WIP Pull Request is ready for review * Send email notification to repo watchers when WIP PR is created * Send ui notification to repo watchers when WIP PR is created * send specific email notification when PR is marked ready for review instead of reusing the CreatePullRequest action * Fix lint error Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
parent
66f8da538a
commit
17030ced75
8 changed files with 97 additions and 43 deletions
|
@ -377,6 +377,8 @@ func actionToTemplate(issue *models.Issue, actionType models.ActionType,
|
|||
name = "merge"
|
||||
case models.ActionPullReviewDismissed:
|
||||
name = "review_dismissed"
|
||||
case models.ActionPullRequestReadyForReview:
|
||||
name = "ready_for_review"
|
||||
default:
|
||||
switch commentType {
|
||||
case models.CommentTypeReview:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue