Commit 838300a
Fix docs-build-pr not triggering on elastic/docs PRs (#3332)
The docs-build-pr pipeline has a branch filter in Buildkite that only
allows master. All other repos in job 0 use always_trigger_branch:master
so they always build against master and pass the filter. The standalone
elastic/docs job (job 1) has no always_trigger_branch, so the pr-bot
triggers against the PR's feature branch which the pipeline filter
silently rejects.
Previously builds appeared to work because the doc-preview GitHub Actions
workflow posts a comment containing the text "run docs-build", which
accidentally matched the old unanchored trigger_comment_regex. Tightening
the regex with ^ and $ anchors (#3327) inadvertently removed that
accidental trigger.
Setting ignore_pipeline_branch_filters: true tells the Buildkite API to
bypass the pipeline's branch filter, allowing build_on_commit and comment
triggers to work as intended per the buildkite-pr-bot design.
Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>1 parent f3bb9ad commit 838300a
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
94 | 95 | | |
95 | 96 | | |
96 | 97 | | |
| |||
0 commit comments