diff --git a/.buildkite/pull-requests.org-wide.json b/.buildkite/pull-requests.org-wide.json index 7b253e8edcd8..9b39fd9fe060 100644 --- a/.buildkite/pull-requests.org-wide.json +++ b/.buildkite/pull-requests.org-wide.json @@ -12,8 +12,8 @@ "allowed_list": ["github-actions[bot]", "renovate[bot]", "mergify[bot]", "dependabot[bot]", "elastic-renovate-prod[bot]", "elastic-observability-automation[bot]", "elastic-vault-github-plugin-prod[bot]"], "build_on_commit": true, "build_on_comment": true, - "trigger_comment_regex": "run docs-build ?(?rebuild)? ?(?warnlinkcheck)? ?(?skiplinkcheck)?", - "always_trigger_comment_regex": "buildkite test this ?(?rebuild)? ?(?warnlinkcheck)? ?(?skiplinkcheck)?", + "trigger_comment_regex": "^run docs-build ?(?rebuild)? ?(?warnlinkcheck)? ?(?skiplinkcheck)?\s*?$", + "always_trigger_comment_regex": "^buildkite test this ?(?rebuild)? ?(?warnlinkcheck)? ?(?skiplinkcheck)?\s*?$", "skip_ci_labels": [ "skip docs-build" ], @@ -91,8 +91,8 @@ "allowed_list": ["github-actions[bot]", "renovate[bot]", "mergify[bot]"], "build_on_commit": true, "build_on_comment": true, - "trigger_comment_regex": "run docs-build ?(?rebuild)? ?(?warnlinkcheck)? ?(?skiplinkcheck)?", - "always_trigger_comment_regex": "buildkite test this ?(?rebuild)? ?(?warnlinkcheck)? ?(?skiplinkcheck)?", + "trigger_comment_regex": "^run docs-build ?(?rebuild)? ?(?warnlinkcheck)? ?(?skiplinkcheck)?\s*?$", + "always_trigger_comment_regex": "^buildkite test this ?(?rebuild)? ?(?warnlinkcheck)? ?(?skiplinkcheck)?\s*?$", "skip_ci_labels": [ "skip docs-build" ], @@ -113,8 +113,8 @@ "allowed_list": ["github-actions[bot]", "renovate[bot]", "mergify[bot]"], "build_on_commit": true, "build_on_comment": true, - "trigger_comment_regex": "run docs-test", - "always_trigger_comment_regex": "run docs-test", + "trigger_comment_regex": "^run docs-test\s*?$", + "always_trigger_comment_regex": "^run docs-test\s*?$", "skip_ci_labels": [], "skip_ci_on_only_changed": [], "always_require_ci_on_changed": [],