Skip to content

Commit

Permalink
[Buildkite] Update filter condition to allow just from webhook source (
Browse files Browse the repository at this point in the history
  • Loading branch information
mrodm committed Apr 26, 2024
1 parent 1cb5fad commit 45327cf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions catalog-info.yaml
Expand Up @@ -50,7 +50,7 @@ spec:
build_tags: false
filter_enabled: true
filter_condition: >-
build.pull_request.id == null || (build.creator.name == 'elasticmachine' && build.pull_request.id != null)
build.pull_request.id == null || (build.creator.name == 'elasticmachine' && build.pull_request.id != null && build.source == 'webhook')
repository: elastic/integrations
cancel_intermediate_builds: true
cancel_intermediate_builds_branch_filter: '!main !backport-*'
Expand Down Expand Up @@ -99,7 +99,7 @@ spec:
build_tags: false
filter_enabled: true
filter_condition: >-
build.pull_request.id == null || (build.creator.name == 'elasticmachine' && build.pull_request.id != null)
build.pull_request.id == null || (build.creator.name == 'elasticmachine' && build.pull_request.id != null && build.source == 'webhook')
repository: elastic/integrations
cancel_intermediate_builds: true
cancel_intermediate_builds_branch_filter: '!main'
Expand Down Expand Up @@ -146,7 +146,7 @@ spec:
build_tags: false
filter_enabled: true
filter_condition: >-
build.pull_request.id == null || (build.creator.name == 'elasticmachine' && build.pull_request.id != null)
build.pull_request.id == null || (build.creator.name == 'elasticmachine' && build.pull_request.id != null && build.source == 'webhook')
repository: elastic/integrations
cancel_intermediate_builds: true
cancel_intermediate_builds_branch_filter: '!main'
Expand Down Expand Up @@ -188,7 +188,7 @@ spec:
build_tags: false
filter_enabled: true
filter_condition: >-
build.pull_request.id == null || (build.creator.name == 'elasticmachine' && build.pull_request.id != null)
build.pull_request.id == null || (build.creator.name == 'elasticmachine' && build.pull_request.id != null && build.source == 'webhook')
repository: elastic/integrations
cancel_intermediate_builds: true
cancel_intermediate_builds_branch_filter: '!main'
Expand Down Expand Up @@ -232,7 +232,7 @@ spec:
build_tags: false
filter_enabled: true
filter_condition: >-
build.pull_request.id == null || (build.creator.name == 'elasticmachine' && build.pull_request.id != null)
build.pull_request.id == null || (build.creator.name == 'elasticmachine' && build.pull_request.id != null && build.source == 'webhook')
repository: elastic/integrations
cancel_intermediate_builds: true
cancel_intermediate_builds_branch_filter: '!main !backport-*'
Expand Down

0 comments on commit 45327cf

Please sign in to comment.