welcome
plugin documentation:
The welcome plugin posts a welcoming message in the pull request comments when it detects a user's first contribution to a repo.
The welcoming message can be configured per SCM repository.
Looking up the welcoming message for a given repository is done in the following order:
org/repo
firstorg
only if there was noorg/repo
match- default message template is used if there was no match
This plugin has no commands.
stanza | type |
---|---|
welcome |
[]Welcome |
field | type | note |
---|---|---|
repos |
[]string | can be in the form org/repo or just org |
message_template |
string | go template used to create the welcoming message, see Infos provided to the message template |
key | type |
---|---|
Org | string |
Repo | string |
AuthorLogin | string |
AuthorName | string |
"Welcome @{{.AuthorLogin}}! It looks like this is your first PR to {{.Org}}/{{.Repo}} 🎉"
welcome:
- repos:
- org1/repo1
- org1/repo2
message_template: Welcome @{{.AuthorLogin}} !
- repos:
- org2
message_template: Nice to meet you @{{.AuthorLogin}} !
GitHub | GitHub Enterprise | BitBucket Server | GitLab | |
---|---|---|---|---|
Pull requests | Yes | Yes | Yes | Yes |
Commits | No | No | No | No |