File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -72,9 +72,9 @@ func (at ActionType) String() string {
72
72
case ActionRenameRepo :
73
73
return "rename_repo"
74
74
case ActionStarRepo :
75
- return "star_repo"
75
+ return "star_repo" // will not displayed in feeds.tmpl
76
76
case ActionWatchRepo :
77
- return "watch_repo"
77
+ return "watch_repo" // will not displayed in feeds.tmpl
78
78
case ActionCommitRepo :
79
79
return "commit_repo"
80
80
case ActionCreateIssue :
Original file line number Diff line number Diff line change 73
73
{{else if .GetOpType.InActions "publish_release"}}
74
74
{{$linkText := .Content | ctx.RenderUtils.RenderEmoji}}
75
75
{{ctx.Locale.Tr "action.publish_release" (.GetRepoLink ctx) (printf "%s/releases/tag/%s" (.GetRepoLink ctx) .GetTag) (.ShortRepoPath ctx) $linkText}}
76
- {{else if .GetOpType.InActions "review_dismissed "}}
76
+ {{else if .GetOpType.InActions "pull_review_dismissed "}}
77
77
{{$index := index .GetIssueInfos 0}}
78
78
{{$reviewer := index .GetIssueInfos 1}}
79
79
{{ctx.Locale.Tr "action.review_dismissed" (printf "%s/pulls/%s" (.GetRepoLink ctx) $index) $index (.ShortRepoPath ctx) $reviewer}}
80
+ {{else if .GetOpType.InActions "auto_merge_pull_request"}}
81
+ {{$index := index .GetIssueInfos 0}}
82
+ {{ctx.Locale.Tr "action.auto_merge_pull_request" (printf "%s/pulls/%s" (.GetRepoLink ctx) $index) $index (.ShortRepoPath ctx)}}
80
83
{{end}}
81
84
{{DateUtils.TimeSince .GetCreate}}
82
85
</div>
You can’t perform that action at this time.
0 commit comments