2020-02-14 14:50:38 +07:00
|
|
|
// PR commentary for Authelia branch based contributions
|
|
|
|
on('pull_request.opened')
|
|
|
|
.filter(
|
|
|
|
context =>
|
|
|
|
context.payload.pull_request.head.label.slice(0, 9) === 'authelia:'
|
|
|
|
)
|
2020-03-15 09:49:57 +07:00
|
|
|
.filter(
|
|
|
|
context =>
|
|
|
|
context.payload.pull_request.head.ref.slice(0, 11) !== 'dependabot/'
|
|
|
|
)
|
2020-04-21 10:08:40 +07:00
|
|
|
.comment(`# Artifacts
|
|
|
|
These changes are published for testing on Buildkite and DockerHub.
|
|
|
|
|
|
|
|
## Docker Container
|
2020-02-14 14:50:38 +07:00
|
|
|
* \`docker pull authelia/authelia:{{ pull_request.head.ref }}\``)
|
|
|
|
|
|
|
|
// PR commentary for third party based contributions
|
|
|
|
on('pull_request.opened')
|
|
|
|
.filter(
|
|
|
|
context =>
|
|
|
|
context.payload.pull_request.head.label.slice(0, 9) !== 'authelia:'
|
|
|
|
)
|
2020-04-21 10:08:40 +07:00
|
|
|
.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.
|
|
|
|
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
|
2020-02-14 14:50:38 +07:00
|
|
|
* \`docker pull authelia/authelia:PR{{ pull_request.number }}\``)
|