[CI] Fix Renovate helper bot trigger and out of sync labels#231031
[CI] Fix Renovate helper bot trigger and out of sync labels#231031Ikuni17 merged 2 commits intoelastic:mainfrom
Conversation
|
Pinging @elastic/kibana-operations (Team:Operations) |
💚 Build Succeeded
Metrics [docs]
cc @Ikuni17 |
There was a problem hiding this comment.
Pull Request Overview
This PR fixes two issues with the Renovate helper bot and CI pipeline integration. The main goal is to ensure the Renovate helper pipeline triggers correctly and maintains label synchronization between the helper and main PR pipelines.
- Added the Renovate bot to the allowed list for triggering PR builds
- Implemented label synchronization by updating the
GITHUB_PR_LABELSenvironment variable when the helper pipeline adds labels
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
.buildkite/pull_requests.json |
Added elastic-renovate-prod[bot] to the allowed list for triggering builds |
.buildkite/scripts/steps/renovate/renovate_helper.sh |
Added logic to sync the GITHUB_PR_LABELS environment variable when adding the ci:cloud-deploy label |
Comments suppressed due to low confidence (1)
|
Starting backport for target branches: 8.17, 8.18, 8.19, 9.0, 9.1 https://github.com/elastic/kibana/actions/runs/16842567522 |
|
Starting backport for target branches: 8.17, 8.18, 8.19, 9.0, 9.1 https://github.com/elastic/kibana/actions/runs/16842567524 |
|
Starting backport for target branches: 8.17, 8.18, 8.19, 9.0, 9.1 https://github.com/elastic/kibana/actions/runs/16842567531 |
…231031) ## Summary Note: I will backport this after backporting the original PR elastic#228664. I was waiting to see the stability of the original PR. Fixes two issues: - The [pipeline](https://buildkite.com/elastic/kibana-renovate-helper) is not triggering for Renovate PRs, unless explicitly [commenting](elastic#230882 (comment)) to run - Since we're passing along `GITHUB_PR_*` env variables to the PR pipeline. Labels added in the helper pipeline to the PR itself were not in sync with the PR run. Example [this run](https://buildkite.com/elastic/kibana-pull-request/builds/327690#019885d3-196a-4950-896c-3bf7de6f735f) should have `ci:cloud-deploy` label. (cherry picked from commit f61e1a2)
💔 Some backports could not be createdNote: Successful backport PRs will be merged automatically after passing CI. Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
…231031) ## Summary Note: I will backport this after backporting the original PR elastic#228664. I was waiting to see the stability of the original PR. Fixes two issues: - The [pipeline](https://buildkite.com/elastic/kibana-renovate-helper) is not triggering for Renovate PRs, unless explicitly [commenting](elastic#230882 (comment)) to run - Since we're passing along `GITHUB_PR_*` env variables to the PR pipeline. Labels added in the helper pipeline to the PR itself were not in sync with the PR run. Example [this run](https://buildkite.com/elastic/kibana-pull-request/builds/327690#019885d3-196a-4950-896c-3bf7de6f735f) should have `ci:cloud-deploy` label. (cherry picked from commit f61e1a2)
💔 Some backports could not be createdNote: Successful backport PRs will be merged automatically after passing CI. Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
…231031) ## Summary Note: I will backport this after backporting the original PR elastic#228664. I was waiting to see the stability of the original PR. Fixes two issues: - The [pipeline](https://buildkite.com/elastic/kibana-renovate-helper) is not triggering for Renovate PRs, unless explicitly [commenting](elastic#230882 (comment)) to run - Since we're passing along `GITHUB_PR_*` env variables to the PR pipeline. Labels added in the helper pipeline to the PR itself were not in sync with the PR run. Example [this run](https://buildkite.com/elastic/kibana-pull-request/builds/327690#019885d3-196a-4950-896c-3bf7de6f735f) should have `ci:cloud-deploy` label. (cherry picked from commit f61e1a2)
💔 Some backports could not be createdNote: Successful backport PRs will be merged automatically after passing CI. Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
…231031) ## Summary Note: I will backport this after backporting the original PR elastic#228664. I was waiting to see the stability of the original PR. Fixes two issues: - The [pipeline](https://buildkite.com/elastic/kibana-renovate-helper) is not triggering for Renovate PRs, unless explicitly [commenting](elastic#230882 (comment)) to run - Since we're passing along `GITHUB_PR_*` env variables to the PR pipeline. Labels added in the helper pipeline to the PR itself were not in sync with the PR run. Example [this run](https://buildkite.com/elastic/kibana-pull-request/builds/327690#019885d3-196a-4950-896c-3bf7de6f735f) should have `ci:cloud-deploy` label. (cherry picked from commit f61e1a2) # Conflicts: # .buildkite/pull_requests.json
…231031) ## Summary Note: I will backport this after backporting the original PR elastic#228664. I was waiting to see the stability of the original PR. Fixes two issues: - The [pipeline](https://buildkite.com/elastic/kibana-renovate-helper) is not triggering for Renovate PRs, unless explicitly [commenting](elastic#230882 (comment)) to run - Since we're passing along `GITHUB_PR_*` env variables to the PR pipeline. Labels added in the helper pipeline to the PR itself were not in sync with the PR run. Example [this run](https://buildkite.com/elastic/kibana-pull-request/builds/327690#019885d3-196a-4950-896c-3bf7de6f735f) should have `ci:cloud-deploy` label. (cherry picked from commit f61e1a2) # Conflicts: # .buildkite/pull_requests.json
…231031) ## Summary Note: I will backport this after backporting the original PR elastic#228664. I was waiting to see the stability of the original PR. Fixes two issues: - The [pipeline](https://buildkite.com/elastic/kibana-renovate-helper) is not triggering for Renovate PRs, unless explicitly [commenting](elastic#230882 (comment)) to run - Since we're passing along `GITHUB_PR_*` env variables to the PR pipeline. Labels added in the helper pipeline to the PR itself were not in sync with the PR run. Example [this run](https://buildkite.com/elastic/kibana-pull-request/builds/327690#019885d3-196a-4950-896c-3bf7de6f735f) should have `ci:cloud-deploy` label. (cherry picked from commit f61e1a2) # Conflicts: # .buildkite/pull_requests.json
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…231031) ## Summary Note: I will backport this after backporting the original PR elastic#228664. I was waiting to see the stability of the original PR. Fixes two issues: - The [pipeline](https://buildkite.com/elastic/kibana-renovate-helper) is not triggering for Renovate PRs, unless explicitly [commenting](elastic#230882 (comment)) to run - Since we're passing along `GITHUB_PR_*` env variables to the PR pipeline. Labels added in the helper pipeline to the PR itself were not in sync with the PR run. Example [this run](https://buildkite.com/elastic/kibana-pull-request/builds/327690#019885d3-196a-4950-896c-3bf7de6f735f) should have `ci:cloud-deploy` label. (cherry picked from commit f61e1a2) # Conflicts: # .buildkite/pull_requests.json
…31031) (#231216) # Backport This will backport the following commits from `main` to `9.1`: - [[CI] Fix Renovate helper bot trigger and out of sync labels (#231031)](#231031) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Brad White","email":"Ikuni17@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-08-08T17:00:42Z","message":"[CI] Fix Renovate helper bot trigger and out of sync labels (#231031)\n\n## Summary\n\nNote: I will backport this after backporting the original PR #228664. I\nwas waiting to see the stability of the original PR.\n\nFixes two issues:\n- The [pipeline](https://buildkite.com/elastic/kibana-renovate-helper)\nis not triggering for Renovate PRs, unless explicitly\n[commenting](https://github.com/elastic/kibana/pull/230882#issuecomment-3165286181)\nto run\n- Since we're passing along `GITHUB_PR_*` env variables to the PR\npipeline. Labels added in the helper pipeline to the PR itself were not\nin sync with the PR run. Example [this\nrun](https://buildkite.com/elastic/kibana-pull-request/builds/327690#019885d3-196a-4950-896c-3bf7de6f735f)\nshould have `ci:cloud-deploy` label.","sha":"f61e1a2bb618c2f0f7586acb61721c76b0102674","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:prev-major","backport:current-major","v9.2.0"],"title":"[CI] Fix Renovate helper bot trigger and out of sync labels","number":231031,"url":"https://github.com/elastic/kibana/pull/231031","mergeCommit":{"message":"[CI] Fix Renovate helper bot trigger and out of sync labels (#231031)\n\n## Summary\n\nNote: I will backport this after backporting the original PR #228664. I\nwas waiting to see the stability of the original PR.\n\nFixes two issues:\n- The [pipeline](https://buildkite.com/elastic/kibana-renovate-helper)\nis not triggering for Renovate PRs, unless explicitly\n[commenting](https://github.com/elastic/kibana/pull/230882#issuecomment-3165286181)\nto run\n- Since we're passing along `GITHUB_PR_*` env variables to the PR\npipeline. Labels added in the helper pipeline to the PR itself were not\nin sync with the PR run. Example [this\nrun](https://buildkite.com/elastic/kibana-pull-request/builds/327690#019885d3-196a-4950-896c-3bf7de6f735f)\nshould have `ci:cloud-deploy` label.","sha":"f61e1a2bb618c2f0f7586acb61721c76b0102674"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/231031","number":231031,"mergeCommit":{"message":"[CI] Fix Renovate helper bot trigger and out of sync labels (#231031)\n\n## Summary\n\nNote: I will backport this after backporting the original PR #228664. I\nwas waiting to see the stability of the original PR.\n\nFixes two issues:\n- The [pipeline](https://buildkite.com/elastic/kibana-renovate-helper)\nis not triggering for Renovate PRs, unless explicitly\n[commenting](https://github.com/elastic/kibana/pull/230882#issuecomment-3165286181)\nto run\n- Since we're passing along `GITHUB_PR_*` env variables to the PR\npipeline. Labels added in the helper pipeline to the PR itself were not\nin sync with the PR run. Example [this\nrun](https://buildkite.com/elastic/kibana-pull-request/builds/327690#019885d3-196a-4950-896c-3bf7de6f735f)\nshould have `ci:cloud-deploy` label.","sha":"f61e1a2bb618c2f0f7586acb61721c76b0102674"}}]}] BACKPORT--> Co-authored-by: Brad White <Ikuni17@users.noreply.github.com>
…31031) (#231218) # Backport This will backport the following commits from `main` to `9.0`: - [[CI] Fix Renovate helper bot trigger and out of sync labels (#231031)](#231031) <!--- Backport version: 10.0.1 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Brad White","email":"Ikuni17@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-08-08T17:00:42Z","message":"[CI] Fix Renovate helper bot trigger and out of sync labels (#231031)\n\n## Summary\n\nNote: I will backport this after backporting the original PR #228664. I\nwas waiting to see the stability of the original PR.\n\nFixes two issues:\n- The [pipeline](https://buildkite.com/elastic/kibana-renovate-helper)\nis not triggering for Renovate PRs, unless explicitly\n[commenting](https://github.com/elastic/kibana/pull/230882#issuecomment-3165286181)\nto run\n- Since we're passing along `GITHUB_PR_*` env variables to the PR\npipeline. Labels added in the helper pipeline to the PR itself were not\nin sync with the PR run. Example [this\nrun](https://buildkite.com/elastic/kibana-pull-request/builds/327690#019885d3-196a-4950-896c-3bf7de6f735f)\nshould have `ci:cloud-deploy` label.","sha":"f61e1a2bb618c2f0f7586acb61721c76b0102674","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:prev-major","backport:current-major","v9.2.0"],"title":"[CI] Fix Renovate helper bot trigger and out of sync labels","number":231031,"url":"https://github.com/elastic/kibana/pull/231031","mergeCommit":{"message":"[CI] Fix Renovate helper bot trigger and out of sync labels (#231031)\n\n## Summary\n\nNote: I will backport this after backporting the original PR #228664. I\nwas waiting to see the stability of the original PR.\n\nFixes two issues:\n- The [pipeline](https://buildkite.com/elastic/kibana-renovate-helper)\nis not triggering for Renovate PRs, unless explicitly\n[commenting](https://github.com/elastic/kibana/pull/230882#issuecomment-3165286181)\nto run\n- Since we're passing along `GITHUB_PR_*` env variables to the PR\npipeline. Labels added in the helper pipeline to the PR itself were not\nin sync with the PR run. Example [this\nrun](https://buildkite.com/elastic/kibana-pull-request/builds/327690#019885d3-196a-4950-896c-3bf7de6f735f)\nshould have `ci:cloud-deploy` label.","sha":"f61e1a2bb618c2f0f7586acb61721c76b0102674"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/231031","number":231031,"mergeCommit":{"message":"[CI] Fix Renovate helper bot trigger and out of sync labels (#231031)\n\n## Summary\n\nNote: I will backport this after backporting the original PR #228664. I\nwas waiting to see the stability of the original PR.\n\nFixes two issues:\n- The [pipeline](https://buildkite.com/elastic/kibana-renovate-helper)\nis not triggering for Renovate PRs, unless explicitly\n[commenting](https://github.com/elastic/kibana/pull/230882#issuecomment-3165286181)\nto run\n- Since we're passing along `GITHUB_PR_*` env variables to the PR\npipeline. Labels added in the helper pipeline to the PR itself were not\nin sync with the PR run. Example [this\nrun](https://buildkite.com/elastic/kibana-pull-request/builds/327690#019885d3-196a-4950-896c-3bf7de6f735f)\nshould have `ci:cloud-deploy` label.","sha":"f61e1a2bb618c2f0f7586acb61721c76b0102674"}},{"url":"https://github.com/elastic/kibana/pull/231216","number":231216,"branch":"9.1","state":"OPEN"}]}] BACKPORT-->
…231031) (#231219) # Backport This will backport the following commits from `main` to `8.19`: - [[CI] Fix Renovate helper bot trigger and out of sync labels (#231031)](#231031) <!--- Backport version: 10.0.1 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Brad White","email":"Ikuni17@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-08-08T17:00:42Z","message":"[CI] Fix Renovate helper bot trigger and out of sync labels (#231031)\n\n## Summary\n\nNote: I will backport this after backporting the original PR #228664. I\nwas waiting to see the stability of the original PR.\n\nFixes two issues:\n- The [pipeline](https://buildkite.com/elastic/kibana-renovate-helper)\nis not triggering for Renovate PRs, unless explicitly\n[commenting](https://github.com/elastic/kibana/pull/230882#issuecomment-3165286181)\nto run\n- Since we're passing along `GITHUB_PR_*` env variables to the PR\npipeline. Labels added in the helper pipeline to the PR itself were not\nin sync with the PR run. Example [this\nrun](https://buildkite.com/elastic/kibana-pull-request/builds/327690#019885d3-196a-4950-896c-3bf7de6f735f)\nshould have `ci:cloud-deploy` label.","sha":"f61e1a2bb618c2f0f7586acb61721c76b0102674","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:prev-major","backport:current-major","v9.2.0"],"title":"[CI] Fix Renovate helper bot trigger and out of sync labels","number":231031,"url":"https://github.com/elastic/kibana/pull/231031","mergeCommit":{"message":"[CI] Fix Renovate helper bot trigger and out of sync labels (#231031)\n\n## Summary\n\nNote: I will backport this after backporting the original PR #228664. I\nwas waiting to see the stability of the original PR.\n\nFixes two issues:\n- The [pipeline](https://buildkite.com/elastic/kibana-renovate-helper)\nis not triggering for Renovate PRs, unless explicitly\n[commenting](https://github.com/elastic/kibana/pull/230882#issuecomment-3165286181)\nto run\n- Since we're passing along `GITHUB_PR_*` env variables to the PR\npipeline. Labels added in the helper pipeline to the PR itself were not\nin sync with the PR run. Example [this\nrun](https://buildkite.com/elastic/kibana-pull-request/builds/327690#019885d3-196a-4950-896c-3bf7de6f735f)\nshould have `ci:cloud-deploy` label.","sha":"f61e1a2bb618c2f0f7586acb61721c76b0102674"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/231031","number":231031,"mergeCommit":{"message":"[CI] Fix Renovate helper bot trigger and out of sync labels (#231031)\n\n## Summary\n\nNote: I will backport this after backporting the original PR #228664. I\nwas waiting to see the stability of the original PR.\n\nFixes two issues:\n- The [pipeline](https://buildkite.com/elastic/kibana-renovate-helper)\nis not triggering for Renovate PRs, unless explicitly\n[commenting](https://github.com/elastic/kibana/pull/230882#issuecomment-3165286181)\nto run\n- Since we're passing along `GITHUB_PR_*` env variables to the PR\npipeline. Labels added in the helper pipeline to the PR itself were not\nin sync with the PR run. Example [this\nrun](https://buildkite.com/elastic/kibana-pull-request/builds/327690#019885d3-196a-4950-896c-3bf7de6f735f)\nshould have `ci:cloud-deploy` label.","sha":"f61e1a2bb618c2f0f7586acb61721c76b0102674"}},{"url":"https://github.com/elastic/kibana/pull/231216","number":231216,"branch":"9.1","state":"OPEN"}]}] BACKPORT-->
…231031) (#231220) # Backport This will backport the following commits from `main` to `8.18`: - [[CI] Fix Renovate helper bot trigger and out of sync labels (#231031)](#231031) <!--- Backport version: 10.0.1 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Brad White","email":"Ikuni17@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-08-08T17:00:42Z","message":"[CI] Fix Renovate helper bot trigger and out of sync labels (#231031)\n\n## Summary\n\nNote: I will backport this after backporting the original PR #228664. I\nwas waiting to see the stability of the original PR.\n\nFixes two issues:\n- The [pipeline](https://buildkite.com/elastic/kibana-renovate-helper)\nis not triggering for Renovate PRs, unless explicitly\n[commenting](https://github.com/elastic/kibana/pull/230882#issuecomment-3165286181)\nto run\n- Since we're passing along `GITHUB_PR_*` env variables to the PR\npipeline. Labels added in the helper pipeline to the PR itself were not\nin sync with the PR run. Example [this\nrun](https://buildkite.com/elastic/kibana-pull-request/builds/327690#019885d3-196a-4950-896c-3bf7de6f735f)\nshould have `ci:cloud-deploy` label.","sha":"f61e1a2bb618c2f0f7586acb61721c76b0102674","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:prev-major","backport:current-major","v9.2.0"],"title":"[CI] Fix Renovate helper bot trigger and out of sync labels","number":231031,"url":"https://github.com/elastic/kibana/pull/231031","mergeCommit":{"message":"[CI] Fix Renovate helper bot trigger and out of sync labels (#231031)\n\n## Summary\n\nNote: I will backport this after backporting the original PR #228664. I\nwas waiting to see the stability of the original PR.\n\nFixes two issues:\n- The [pipeline](https://buildkite.com/elastic/kibana-renovate-helper)\nis not triggering for Renovate PRs, unless explicitly\n[commenting](https://github.com/elastic/kibana/pull/230882#issuecomment-3165286181)\nto run\n- Since we're passing along `GITHUB_PR_*` env variables to the PR\npipeline. Labels added in the helper pipeline to the PR itself were not\nin sync with the PR run. Example [this\nrun](https://buildkite.com/elastic/kibana-pull-request/builds/327690#019885d3-196a-4950-896c-3bf7de6f735f)\nshould have `ci:cloud-deploy` label.","sha":"f61e1a2bb618c2f0f7586acb61721c76b0102674"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/231031","number":231031,"mergeCommit":{"message":"[CI] Fix Renovate helper bot trigger and out of sync labels (#231031)\n\n## Summary\n\nNote: I will backport this after backporting the original PR #228664. I\nwas waiting to see the stability of the original PR.\n\nFixes two issues:\n- The [pipeline](https://buildkite.com/elastic/kibana-renovate-helper)\nis not triggering for Renovate PRs, unless explicitly\n[commenting](https://github.com/elastic/kibana/pull/230882#issuecomment-3165286181)\nto run\n- Since we're passing along `GITHUB_PR_*` env variables to the PR\npipeline. Labels added in the helper pipeline to the PR itself were not\nin sync with the PR run. Example [this\nrun](https://buildkite.com/elastic/kibana-pull-request/builds/327690#019885d3-196a-4950-896c-3bf7de6f735f)\nshould have `ci:cloud-deploy` label.","sha":"f61e1a2bb618c2f0f7586acb61721c76b0102674"}},{"url":"https://github.com/elastic/kibana/pull/231216","number":231216,"branch":"9.1","state":"OPEN"}]}] BACKPORT-->
…231031) (#231221) # Backport This will backport the following commits from `main` to `8.17`: - [[CI] Fix Renovate helper bot trigger and out of sync labels (#231031)](#231031) <!--- Backport version: 10.0.1 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Brad White","email":"Ikuni17@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-08-08T17:00:42Z","message":"[CI] Fix Renovate helper bot trigger and out of sync labels (#231031)\n\n## Summary\n\nNote: I will backport this after backporting the original PR #228664. I\nwas waiting to see the stability of the original PR.\n\nFixes two issues:\n- The [pipeline](https://buildkite.com/elastic/kibana-renovate-helper)\nis not triggering for Renovate PRs, unless explicitly\n[commenting](https://github.com/elastic/kibana/pull/230882#issuecomment-3165286181)\nto run\n- Since we're passing along `GITHUB_PR_*` env variables to the PR\npipeline. Labels added in the helper pipeline to the PR itself were not\nin sync with the PR run. Example [this\nrun](https://buildkite.com/elastic/kibana-pull-request/builds/327690#019885d3-196a-4950-896c-3bf7de6f735f)\nshould have `ci:cloud-deploy` label.","sha":"f61e1a2bb618c2f0f7586acb61721c76b0102674","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:prev-major","backport:current-major","v9.2.0"],"title":"[CI] Fix Renovate helper bot trigger and out of sync labels","number":231031,"url":"https://github.com/elastic/kibana/pull/231031","mergeCommit":{"message":"[CI] Fix Renovate helper bot trigger and out of sync labels (#231031)\n\n## Summary\n\nNote: I will backport this after backporting the original PR #228664. I\nwas waiting to see the stability of the original PR.\n\nFixes two issues:\n- The [pipeline](https://buildkite.com/elastic/kibana-renovate-helper)\nis not triggering for Renovate PRs, unless explicitly\n[commenting](https://github.com/elastic/kibana/pull/230882#issuecomment-3165286181)\nto run\n- Since we're passing along `GITHUB_PR_*` env variables to the PR\npipeline. Labels added in the helper pipeline to the PR itself were not\nin sync with the PR run. Example [this\nrun](https://buildkite.com/elastic/kibana-pull-request/builds/327690#019885d3-196a-4950-896c-3bf7de6f735f)\nshould have `ci:cloud-deploy` label.","sha":"f61e1a2bb618c2f0f7586acb61721c76b0102674"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/231031","number":231031,"mergeCommit":{"message":"[CI] Fix Renovate helper bot trigger and out of sync labels (#231031)\n\n## Summary\n\nNote: I will backport this after backporting the original PR #228664. I\nwas waiting to see the stability of the original PR.\n\nFixes two issues:\n- The [pipeline](https://buildkite.com/elastic/kibana-renovate-helper)\nis not triggering for Renovate PRs, unless explicitly\n[commenting](https://github.com/elastic/kibana/pull/230882#issuecomment-3165286181)\nto run\n- Since we're passing along `GITHUB_PR_*` env variables to the PR\npipeline. Labels added in the helper pipeline to the PR itself were not\nin sync with the PR run. Example [this\nrun](https://buildkite.com/elastic/kibana-pull-request/builds/327690#019885d3-196a-4950-896c-3bf7de6f735f)\nshould have `ci:cloud-deploy` label.","sha":"f61e1a2bb618c2f0f7586acb61721c76b0102674"}},{"url":"https://github.com/elastic/kibana/pull/231216","number":231216,"branch":"9.1","state":"OPEN"}]}] BACKPORT-->
…231031) ## Summary Note: I will backport this after backporting the original PR elastic#228664. I was waiting to see the stability of the original PR. Fixes two issues: - The [pipeline](https://buildkite.com/elastic/kibana-renovate-helper) is not triggering for Renovate PRs, unless explicitly [commenting](elastic#230882 (comment)) to run - Since we're passing along `GITHUB_PR_*` env variables to the PR pipeline. Labels added in the helper pipeline to the PR itself were not in sync with the PR run. Example [this run](https://buildkite.com/elastic/kibana-pull-request/builds/327690#019885d3-196a-4950-896c-3bf7de6f735f) should have `ci:cloud-deploy` label.
…231031) ## Summary Note: I will backport this after backporting the original PR elastic#228664. I was waiting to see the stability of the original PR. Fixes two issues: - The [pipeline](https://buildkite.com/elastic/kibana-renovate-helper) is not triggering for Renovate PRs, unless explicitly [commenting](elastic#230882 (comment)) to run - Since we're passing along `GITHUB_PR_*` env variables to the PR pipeline. Labels added in the helper pipeline to the PR itself were not in sync with the PR run. Example [this run](https://buildkite.com/elastic/kibana-pull-request/builds/327690#019885d3-196a-4950-896c-3bf7de6f735f) should have `ci:cloud-deploy` label.
Summary
Note: I will backport this after backporting the original PR #228664. I was waiting to see the stability of the original PR.Fixes two issues:
GITHUB_PR_*env variables to the PR pipeline. Labels added in the helper pipeline to the PR itself were not in sync with the PR run. Example this run should haveci:cloud-deploylabel.