[CI] Update PR commentary messages (#890)

* thank users for their contribution
* let users know about the golangci-lint reviews
* notify users about artifacts on buildkite
pull/891/head
James Elliott 2020-04-21 13:08:40 +10:00 committed by GitHub
parent 333137d56d
commit a26ddf9c65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 4 deletions

15
.github/probot.js vendored
View File

@ -8,8 +8,10 @@ on('pull_request.opened')
context => context =>
context.payload.pull_request.head.ref.slice(0, 11) !== 'dependabot/' context.payload.pull_request.head.ref.slice(0, 11) !== 'dependabot/'
) )
.comment(`# Docker Container .comment(`# Artifacts
These changes are published for testing at the following location: These changes are published for testing on Buildkite and DockerHub.
## Docker Container
* \`docker pull authelia/authelia:{{ pull_request.head.ref }}\``) * \`docker pull authelia/authelia:{{ pull_request.head.ref }}\``)
// PR commentary for third party based contributions // PR commentary for third party based contributions
@ -18,6 +20,11 @@ on('pull_request.opened')
context => context =>
context.payload.pull_request.head.label.slice(0, 9) !== 'authelia:' context.payload.pull_request.head.label.slice(0, 9) !== 'authelia:'
) )
.comment(`# Docker Container .comment(`Thanks for choosing to contribute. We lint all PR's with golangci-lint, autheliabot may add a review to your PR with some suggestions.
These changes once approved by a team member will be published for testing at the following location: You are free to apply the changes if you're comfortable, alternatively you are welcome to ask a team member for advice.
# Artifacts
These changes once approved by a team member will be published for testing on Buildkite and DockerHub.
## Docker Container
* \`docker pull authelia/authelia:PR{{ pull_request.number }}\``) * \`docker pull authelia/authelia:PR{{ pull_request.number }}\``)