Skip to content

Add display of the "Reviewers" field to the pull request creation event template #856

@San4es

Description

@San4es

At the moment, the "Assignees" field displays:

template.Must(masterTemplate.New("assignee").Funcs(funcMap).Parse(`
{{- if .Assignees }}
Assignees: {{range $i, $el := .Assignees -}} {{- if $i}}, {{end}}{{template "user" $el}}{{end -}}
{{- end -}}
`))

I suggest to add the "Reviewers" field as well to notify PR reviewers in the pulls_created event via their mention.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions