1
0
mirror of https://github.com/0rangebananaspy/authelia.git synced 2024-09-14 22:47:21 +07:00
authelia/.github/probot.js
Amir Zarrinkafsh cd561ef094
[Buildkite] Fix pipeline to work alongside dependabot ()
This change will continue to perform unit and integration testing, however, disables deployment steps in association with dependabot PRs.
Deployment comments on the PR with autheliabot are also disabled.
2020-03-15 13:49:57 +11:00

23 lines
884 B
JavaScript

// PR commentary for Authelia branch based contributions
on('pull_request.opened')
.filter(
context =>
context.payload.pull_request.head.label.slice(0, 9) === 'authelia:'
)
.filter(
context =>
context.payload.pull_request.head.ref.slice(0, 11) !== 'dependabot/'
)
.comment(`# Docker Container
These changes are published for testing at the following location:
* \`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:'
)
.comment(`# Docker Container
These changes once approved by a team member will be published for testing at the following location:
* \`docker pull authelia/authelia:PR{{ pull_request.number }}\``)