[CI] Attempt to fix PR commentary (#1168)
parent
414927043c
commit
73a7d0465a
|
@ -2,11 +2,11 @@
|
||||||
on('pull_request.opened')
|
on('pull_request.opened')
|
||||||
.filter(
|
.filter(
|
||||||
context =>
|
context =>
|
||||||
context.payload.pull_request.head.label.startsWith('authelia:')
|
context.payload.pull_request.head.label.slice(0, 9) === 'authelia:'
|
||||||
)
|
)
|
||||||
.filter(
|
.filter(
|
||||||
context =>
|
context =>
|
||||||
!context.payload.pull_request.head.ref.startsWith('dependabot/')
|
context.payload.pull_request.head.ref.slice(0, 11) !== 'dependabot/'
|
||||||
)
|
)
|
||||||
.comment(`## Artifacts
|
.comment(`## Artifacts
|
||||||
These changes are published for testing on Buildkite and DockerHub.
|
These changes are published for testing on Buildkite and DockerHub.
|
||||||
|
@ -18,11 +18,11 @@ These changes are published for testing on Buildkite and DockerHub.
|
||||||
on('pull_request.opened')
|
on('pull_request.opened')
|
||||||
.filter(
|
.filter(
|
||||||
context =>
|
context =>
|
||||||
context.payload.pull_request.head.label.startsWith('authelia:')
|
context.payload.pull_request.head.label.slice(0, 9) !== 'authelia:'
|
||||||
)
|
)
|
||||||
.filter(
|
.filter(
|
||||||
context =>
|
context =>
|
||||||
!context.payload.pull_request.head.label.endsWith(':master')
|
!context.payload.pull_request.head.label.includes(':master')
|
||||||
)
|
)
|
||||||
.comment(`Thanks for choosing to contribute. We lint all PR's with golangci-lint, I may add a review to your PR with some suggestions.
|
.comment(`Thanks for choosing to contribute. We lint all PR's with golangci-lint, I may add a review to your PR with some suggestions.
|
||||||
|
|
||||||
|
@ -38,11 +38,11 @@ These changes once approved by a team member will be published for testing on Bu
|
||||||
on('pull_request.opened')
|
on('pull_request.opened')
|
||||||
.filter(
|
.filter(
|
||||||
context =>
|
context =>
|
||||||
context.payload.pull_request.head.label.startsWith('authelia:')
|
context.payload.pull_request.head.label.slice(0, 9) !== 'authelia:'
|
||||||
)
|
)
|
||||||
.filter(
|
.filter(
|
||||||
context =>
|
context =>
|
||||||
context.payload.pull_request.head.label.endsWith(':master')
|
context.payload.pull_request.head.label.includes(':master')
|
||||||
)
|
)
|
||||||
.comment(`Thanks for choosing to contribute. It appears that you're submitting a PR from a forked master branch.
|
.comment(`Thanks for choosing to contribute. It appears that you're submitting a PR from a forked master branch.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue