[CI] Fix CI/CD for forked master branches (#1596)

An extra filter needed to be removed and pull request branch filtering on Buildkite changed to ensure that forked `master` branches actually receive CI/CD treatments.
This commit is contained in:
Amir Zarrinkafsh 2021-01-13 12:45:15 +11:00 committed by GitHub
parent e6111f775b
commit b68ebda83e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
.github/probot.js vendored
View File

@ -20,10 +20,6 @@ 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:'
) )
.filter(
context =>
!context.payload.pull_request.head.label.includes(':master')
)
.comment(`Thanks for choosing to contribute @{{ pull_request.user.login }}. We lint all PR's with golangci-lint and eslint, I may add a review to your PR with some suggestions. .comment(`Thanks for choosing to contribute @{{ pull_request.user.login }}. We lint all PR's with golangci-lint and eslint, I 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. You are free to apply the changes if you're comfortable, alternatively you are welcome to ask a team member for advice.