Commit graph

11 commits

Author SHA1 Message Date
Aleh Zasypkin
120a0f05a6
[7.17] Update actions/checkout action to v4.2.2 (main) (#195305) (#205321)
# Backport

This will backport the following commits from `main` to `7.17`:
- [Update actions/checkout action to v4.2.2 (main)
(#195305)](https://github.com/elastic/kibana/pull/195305)

<!--- Backport version: 8.9.8 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT
[{"author":{"name":"elastic-renovate-prod[bot]","email":"174716857+elastic-renovate-prod[bot]@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-12-31T13:47:39Z","message":"Update
actions/checkout action to v4.2.2 (main) (#195305)\n\nThis PR contains
the following updates:\n\n| Package | Type | Update | Change
|\n|---|---|---|---|\n|
[actions/checkout](https://togithub.com/actions/checkout) | action
|\nminor | `v4` -> `v4.2.2` |\n|
[actions/checkout](https://togithub.com/actions/checkout) | action
|\npatch | `v4.2.0` -> `v4.2.2` |\n\n---\n\n### Release
Notes\n\n<details>\n<summary>actions/checkout
(actions/checkout)</summary>\n\n###\n[`v4.2.2`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v422)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.2.1...v4.2.2)\n\n-
`url-helper.ts` now leverages well-known environment variables
by\n[@&#8203;jww3](https://togithub.com/jww3)
in\n[https://github.com/actions/checkout/pull/1941](https://togithub.com/actions/checkout/pull/1941)\n-
Expand unit test coverage for `isGhes`
by\n[@&#8203;jww3](https://togithub.com/jww3)
in\n[https://github.com/actions/checkout/pull/1946](https://togithub.com/actions/checkout/pull/1946)\n\n###\n[`v4.2.1`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v421)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.2.0...v4.2.1)\n\n-
Check out other refs/\\* by commit if provided, fall back to ref
by\n[@&#8203;orhantoy](https://togithub.com/orhantoy)
in\n[https://github.com/actions/checkout/pull/1924](https://togithub.com/actions/checkout/pull/1924)\n\n###\n[`v4.2.0`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v420)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.7...v4.2.0)\n\n-
Add Ref and Commit outputs
by\n[@&#8203;lucacome](https://togithub.com/lucacome)
in\n[https://github.com/actions/checkout/pull/1180](https://togithub.com/actions/checkout/pull/1180)\n-
Dependency updates
by\n[@&#8203;dependabot-](https://togithub.com/dependabot-)\n[https://github.com/actions/checkout/pull/1777](https://togithub.com/actions/checkout/pull/1777),\n[https://github.com/actions/checkout/pull/1872](https://togithub.com/actions/checkout/pull/1872)\n\n###\n[`v4.1.7`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v417)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.6...v4.1.7)\n\n-
Bump the minor-npm-dependencies group across 1 directory with 4\nupdates
by [@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1739](https://togithub.com/actions/checkout/pull/1739)\n-
Bump actions/checkout from 3 to 4
by\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1697](https://togithub.com/actions/checkout/pull/1697)\n-
Check out other refs/\\* by commit
by\n[@&#8203;orhantoy](https://togithub.com/orhantoy)
in\n[https://github.com/actions/checkout/pull/1774](https://togithub.com/actions/checkout/pull/1774)\n-
Pin actions/checkout's own workflows to a known, good, stable
version.\nby [@&#8203;jww3](https://togithub.com/jww3)
in\n[https://github.com/actions/checkout/pull/1776](https://togithub.com/actions/checkout/pull/1776)\n\n###\n[`v4.1.6`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v416)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.5...v4.1.6)\n\n-
Check platform to set archive extension appropriately
by\n[@&#8203;cory-miller](https://togithub.com/cory-miller)
in\n[https://github.com/actions/checkout/pull/1732](https://togithub.com/actions/checkout/pull/1732)\n\n###\n[`v4.1.5`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v415)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.4...v4.1.5)\n\n-
Update NPM dependencies
by\n[@&#8203;cory-miller](https://togithub.com/cory-miller)
in\n[https://github.com/actions/checkout/pull/1703](https://togithub.com/actions/checkout/pull/1703)\n-
Bump github/codeql-action from 2 to 3
by\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1694](https://togithub.com/actions/checkout/pull/1694)\n-
Bump actions/setup-node from 1 to 4
by\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1696](https://togithub.com/actions/checkout/pull/1696)\n-
Bump actions/upload-artifact from 2 to 4
by\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1695](https://togithub.com/actions/checkout/pull/1695)\n-
README: Suggest `user.email` to
be\n`41898282+github-actions[bot]@&#8203;users.noreply.github.com`
by\n[@&#8203;cory-miller](https://togithub.com/cory-miller)
in\n[https://github.com/actions/checkout/pull/1707](https://togithub.com/actions/checkout/pull/1707)\n\n###\n[`v4.1.4`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v414)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.3...v4.1.4)\n\n-
Disable `extensions.worktreeConfig` when disabling `sparse-checkout`\nby
[@&#8203;jww3](https://togithub.com/jww3)
in\n[https://github.com/actions/checkout/pull/1692](https://togithub.com/actions/checkout/pull/1692)\n-
Add dependabot config
by\n[@&#8203;cory-miller](https://togithub.com/cory-miller)
in\n[https://github.com/actions/checkout/pull/1688](https://togithub.com/actions/checkout/pull/1688)\n-
Bump the minor-actions-dependencies group with 2 updates
by\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1693](https://togithub.com/actions/checkout/pull/1693)\n-
Bump word-wrap from 1.2.3 to 1.2.5
by\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1643](https://togithub.com/actions/checkout/pull/1643)\n\n###\n[`v4.1.3`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v413)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.2...v4.1.3)\n\n-
Check git version before attempting to disable `sparse-checkout`
by\n[@&#8203;jww3](https://togithub.com/jww3)
in\n[https://github.com/actions/checkout/pull/1656](https://togithub.com/actions/checkout/pull/1656)\n-
Add SSH user parameter
by\n[@&#8203;cory-miller](https://togithub.com/cory-miller)
in\n[https://github.com/actions/checkout/pull/1685](https://togithub.com/actions/checkout/pull/1685)\n-
Update `actions/checkout` version in `update-main-version.yml`
by\n[@&#8203;jww3](https://togithub.com/jww3)
in\n[https://github.com/actions/checkout/pull/1650](https://togithub.com/actions/checkout/pull/1650)\n\n###\n[`v4.1.2`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v412)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.1...v4.1.2)\n\n-
Fix: Disable sparse checkout whenever `sparse-checkout` option is
not\npresent [@&#8203;dscho](https://togithub.com/dscho)
in\n[https://github.com/actions/checkout/pull/1598](https://togithub.com/actions/checkout/pull/1598)\n\n###\n[`v4.1.1`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v411)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.0...v4.1.1)\n\n-
Correct link to GitHub Docs
by\n[@&#8203;peterbe](https://togithub.com/peterbe)
in\n[https://github.com/actions/checkout/pull/1511](https://togithub.com/actions/checkout/pull/1511)\n-
Link to release page from what's new section
by\n[@&#8203;cory-miller](https://togithub.com/cory-miller)
in\n[https://github.com/actions/checkout/pull/1514](https://togithub.com/actions/checkout/pull/1514)\n\n###\n[`v4.1.0`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v410)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4...v4.1.0)\n\n-
[Add support for partial
checkout\nfilters](https://togithub.com/actions/checkout/pull/1396)\n\n</details>\n\n---\n\n###
Configuration\n\n📅 **Schedule**: Branch creation - At any time (no
schedule defined),\nAutomerge - At any time (no schedule defined).\n\n🚦
**Automerge**: Disabled by config. Please merge this manually once
you\nare satisfied.\n\n♻ **Rebasing**: Whenever PR becomes conflicted,
or you tick the\nrebase/retry checkbox.\n\n🔕 **Ignore**: Close this PR
and you won't be reminded about these\nupdates again.\n\n---\n\n- [ ]
<!-- rebase-check -->If you want to rebase/retry this PR, check\nthis
box\n\n---\n\nThis PR has been generated by
[Renovate\nBot](https://togithub.com/renovatebot/renovate).\n\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOk9wZXJhdGlvbnMiLCJiYWNrcG9ydDphbGwtb3BlbiIsInJlbGVhc2Vfbm90ZTpza2lwIl19-->\n\nCo-authored-by:
elastic-renovate-prod[bot]
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>","sha":"7865d0951cffcfa85d20119327bb1bb7a5ee0060","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","💝community","v9.0.0","backport:all-open"],"number":195305,"url":"https://github.com/elastic/kibana/pull/195305","mergeCommit":{"message":"Update
actions/checkout action to v4.2.2 (main) (#195305)\n\nThis PR contains
the following updates:\n\n| Package | Type | Update | Change
|\n|---|---|---|---|\n|
[actions/checkout](https://togithub.com/actions/checkout) | action
|\nminor | `v4` -> `v4.2.2` |\n|
[actions/checkout](https://togithub.com/actions/checkout) | action
|\npatch | `v4.2.0` -> `v4.2.2` |\n\n---\n\n### Release
Notes\n\n<details>\n<summary>actions/checkout
(actions/checkout)</summary>\n\n###\n[`v4.2.2`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v422)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.2.1...v4.2.2)\n\n-
`url-helper.ts` now leverages well-known environment variables
by\n[@&#8203;jww3](https://togithub.com/jww3)
in\n[https://github.com/actions/checkout/pull/1941](https://togithub.com/actions/checkout/pull/1941)\n-
Expand unit test coverage for `isGhes`
by\n[@&#8203;jww3](https://togithub.com/jww3)
in\n[https://github.com/actions/checkout/pull/1946](https://togithub.com/actions/checkout/pull/1946)\n\n###\n[`v4.2.1`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v421)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.2.0...v4.2.1)\n\n-
Check out other refs/\\* by commit if provided, fall back to ref
by\n[@&#8203;orhantoy](https://togithub.com/orhantoy)
in\n[https://github.com/actions/checkout/pull/1924](https://togithub.com/actions/checkout/pull/1924)\n\n###\n[`v4.2.0`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v420)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.7...v4.2.0)\n\n-
Add Ref and Commit outputs
by\n[@&#8203;lucacome](https://togithub.com/lucacome)
in\n[https://github.com/actions/checkout/pull/1180](https://togithub.com/actions/checkout/pull/1180)\n-
Dependency updates
by\n[@&#8203;dependabot-](https://togithub.com/dependabot-)\n[https://github.com/actions/checkout/pull/1777](https://togithub.com/actions/checkout/pull/1777),\n[https://github.com/actions/checkout/pull/1872](https://togithub.com/actions/checkout/pull/1872)\n\n###\n[`v4.1.7`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v417)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.6...v4.1.7)\n\n-
Bump the minor-npm-dependencies group across 1 directory with 4\nupdates
by [@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1739](https://togithub.com/actions/checkout/pull/1739)\n-
Bump actions/checkout from 3 to 4
by\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1697](https://togithub.com/actions/checkout/pull/1697)\n-
Check out other refs/\\* by commit
by\n[@&#8203;orhantoy](https://togithub.com/orhantoy)
in\n[https://github.com/actions/checkout/pull/1774](https://togithub.com/actions/checkout/pull/1774)\n-
Pin actions/checkout's own workflows to a known, good, stable
version.\nby [@&#8203;jww3](https://togithub.com/jww3)
in\n[https://github.com/actions/checkout/pull/1776](https://togithub.com/actions/checkout/pull/1776)\n\n###\n[`v4.1.6`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v416)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.5...v4.1.6)\n\n-
Check platform to set archive extension appropriately
by\n[@&#8203;cory-miller](https://togithub.com/cory-miller)
in\n[https://github.com/actions/checkout/pull/1732](https://togithub.com/actions/checkout/pull/1732)\n\n###\n[`v4.1.5`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v415)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.4...v4.1.5)\n\n-
Update NPM dependencies
by\n[@&#8203;cory-miller](https://togithub.com/cory-miller)
in\n[https://github.com/actions/checkout/pull/1703](https://togithub.com/actions/checkout/pull/1703)\n-
Bump github/codeql-action from 2 to 3
by\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1694](https://togithub.com/actions/checkout/pull/1694)\n-
Bump actions/setup-node from 1 to 4
by\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1696](https://togithub.com/actions/checkout/pull/1696)\n-
Bump actions/upload-artifact from 2 to 4
by\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1695](https://togithub.com/actions/checkout/pull/1695)\n-
README: Suggest `user.email` to
be\n`41898282+github-actions[bot]@&#8203;users.noreply.github.com`
by\n[@&#8203;cory-miller](https://togithub.com/cory-miller)
in\n[https://github.com/actions/checkout/pull/1707](https://togithub.com/actions/checkout/pull/1707)\n\n###\n[`v4.1.4`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v414)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.3...v4.1.4)\n\n-
Disable `extensions.worktreeConfig` when disabling `sparse-checkout`\nby
[@&#8203;jww3](https://togithub.com/jww3)
in\n[https://github.com/actions/checkout/pull/1692](https://togithub.com/actions/checkout/pull/1692)\n-
Add dependabot config
by\n[@&#8203;cory-miller](https://togithub.com/cory-miller)
in\n[https://github.com/actions/checkout/pull/1688](https://togithub.com/actions/checkout/pull/1688)\n-
Bump the minor-actions-dependencies group with 2 updates
by\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1693](https://togithub.com/actions/checkout/pull/1693)\n-
Bump word-wrap from 1.2.3 to 1.2.5
by\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1643](https://togithub.com/actions/checkout/pull/1643)\n\n###\n[`v4.1.3`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v413)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.2...v4.1.3)\n\n-
Check git version before attempting to disable `sparse-checkout`
by\n[@&#8203;jww3](https://togithub.com/jww3)
in\n[https://github.com/actions/checkout/pull/1656](https://togithub.com/actions/checkout/pull/1656)\n-
Add SSH user parameter
by\n[@&#8203;cory-miller](https://togithub.com/cory-miller)
in\n[https://github.com/actions/checkout/pull/1685](https://togithub.com/actions/checkout/pull/1685)\n-
Update `actions/checkout` version in `update-main-version.yml`
by\n[@&#8203;jww3](https://togithub.com/jww3)
in\n[https://github.com/actions/checkout/pull/1650](https://togithub.com/actions/checkout/pull/1650)\n\n###\n[`v4.1.2`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v412)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.1...v4.1.2)\n\n-
Fix: Disable sparse checkout whenever `sparse-checkout` option is
not\npresent [@&#8203;dscho](https://togithub.com/dscho)
in\n[https://github.com/actions/checkout/pull/1598](https://togithub.com/actions/checkout/pull/1598)\n\n###\n[`v4.1.1`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v411)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.0...v4.1.1)\n\n-
Correct link to GitHub Docs
by\n[@&#8203;peterbe](https://togithub.com/peterbe)
in\n[https://github.com/actions/checkout/pull/1511](https://togithub.com/actions/checkout/pull/1511)\n-
Link to release page from what's new section
by\n[@&#8203;cory-miller](https://togithub.com/cory-miller)
in\n[https://github.com/actions/checkout/pull/1514](https://togithub.com/actions/checkout/pull/1514)\n\n###\n[`v4.1.0`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v410)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4...v4.1.0)\n\n-
[Add support for partial
checkout\nfilters](https://togithub.com/actions/checkout/pull/1396)\n\n</details>\n\n---\n\n###
Configuration\n\n📅 **Schedule**: Branch creation - At any time (no
schedule defined),\nAutomerge - At any time (no schedule defined).\n\n🚦
**Automerge**: Disabled by config. Please merge this manually once
you\nare satisfied.\n\n♻ **Rebasing**: Whenever PR becomes conflicted,
or you tick the\nrebase/retry checkbox.\n\n🔕 **Ignore**: Close this PR
and you won't be reminded about these\nupdates again.\n\n---\n\n- [ ]
<!-- rebase-check -->If you want to rebase/retry this PR, check\nthis
box\n\n---\n\nThis PR has been generated by
[Renovate\nBot](https://togithub.com/renovatebot/renovate).\n\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOk9wZXJhdGlvbnMiLCJiYWNrcG9ydDphbGwtb3BlbiIsInJlbGVhc2Vfbm90ZTpza2lwIl19-->\n\nCo-authored-by:
elastic-renovate-prod[bot]
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>","sha":"7865d0951cffcfa85d20119327bb1bb7a5ee0060"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/195305","number":195305,"mergeCommit":{"message":"Update
actions/checkout action to v4.2.2 (main) (#195305)\n\nThis PR contains
the following updates:\n\n| Package | Type | Update | Change
|\n|---|---|---|---|\n|
[actions/checkout](https://togithub.com/actions/checkout) | action
|\nminor | `v4` -> `v4.2.2` |\n|
[actions/checkout](https://togithub.com/actions/checkout) | action
|\npatch | `v4.2.0` -> `v4.2.2` |\n\n---\n\n### Release
Notes\n\n<details>\n<summary>actions/checkout
(actions/checkout)</summary>\n\n###\n[`v4.2.2`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v422)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.2.1...v4.2.2)\n\n-
`url-helper.ts` now leverages well-known environment variables
by\n[@&#8203;jww3](https://togithub.com/jww3)
in\n[https://github.com/actions/checkout/pull/1941](https://togithub.com/actions/checkout/pull/1941)\n-
Expand unit test coverage for `isGhes`
by\n[@&#8203;jww3](https://togithub.com/jww3)
in\n[https://github.com/actions/checkout/pull/1946](https://togithub.com/actions/checkout/pull/1946)\n\n###\n[`v4.2.1`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v421)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.2.0...v4.2.1)\n\n-
Check out other refs/\\* by commit if provided, fall back to ref
by\n[@&#8203;orhantoy](https://togithub.com/orhantoy)
in\n[https://github.com/actions/checkout/pull/1924](https://togithub.com/actions/checkout/pull/1924)\n\n###\n[`v4.2.0`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v420)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.7...v4.2.0)\n\n-
Add Ref and Commit outputs
by\n[@&#8203;lucacome](https://togithub.com/lucacome)
in\n[https://github.com/actions/checkout/pull/1180](https://togithub.com/actions/checkout/pull/1180)\n-
Dependency updates
by\n[@&#8203;dependabot-](https://togithub.com/dependabot-)\n[https://github.com/actions/checkout/pull/1777](https://togithub.com/actions/checkout/pull/1777),\n[https://github.com/actions/checkout/pull/1872](https://togithub.com/actions/checkout/pull/1872)\n\n###\n[`v4.1.7`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v417)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.6...v4.1.7)\n\n-
Bump the minor-npm-dependencies group across 1 directory with 4\nupdates
by [@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1739](https://togithub.com/actions/checkout/pull/1739)\n-
Bump actions/checkout from 3 to 4
by\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1697](https://togithub.com/actions/checkout/pull/1697)\n-
Check out other refs/\\* by commit
by\n[@&#8203;orhantoy](https://togithub.com/orhantoy)
in\n[https://github.com/actions/checkout/pull/1774](https://togithub.com/actions/checkout/pull/1774)\n-
Pin actions/checkout's own workflows to a known, good, stable
version.\nby [@&#8203;jww3](https://togithub.com/jww3)
in\n[https://github.com/actions/checkout/pull/1776](https://togithub.com/actions/checkout/pull/1776)\n\n###\n[`v4.1.6`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v416)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.5...v4.1.6)\n\n-
Check platform to set archive extension appropriately
by\n[@&#8203;cory-miller](https://togithub.com/cory-miller)
in\n[https://github.com/actions/checkout/pull/1732](https://togithub.com/actions/checkout/pull/1732)\n\n###\n[`v4.1.5`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v415)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.4...v4.1.5)\n\n-
Update NPM dependencies
by\n[@&#8203;cory-miller](https://togithub.com/cory-miller)
in\n[https://github.com/actions/checkout/pull/1703](https://togithub.com/actions/checkout/pull/1703)\n-
Bump github/codeql-action from 2 to 3
by\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1694](https://togithub.com/actions/checkout/pull/1694)\n-
Bump actions/setup-node from 1 to 4
by\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1696](https://togithub.com/actions/checkout/pull/1696)\n-
Bump actions/upload-artifact from 2 to 4
by\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1695](https://togithub.com/actions/checkout/pull/1695)\n-
README: Suggest `user.email` to
be\n`41898282+github-actions[bot]@&#8203;users.noreply.github.com`
by\n[@&#8203;cory-miller](https://togithub.com/cory-miller)
in\n[https://github.com/actions/checkout/pull/1707](https://togithub.com/actions/checkout/pull/1707)\n\n###\n[`v4.1.4`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v414)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.3...v4.1.4)\n\n-
Disable `extensions.worktreeConfig` when disabling `sparse-checkout`\nby
[@&#8203;jww3](https://togithub.com/jww3)
in\n[https://github.com/actions/checkout/pull/1692](https://togithub.com/actions/checkout/pull/1692)\n-
Add dependabot config
by\n[@&#8203;cory-miller](https://togithub.com/cory-miller)
in\n[https://github.com/actions/checkout/pull/1688](https://togithub.com/actions/checkout/pull/1688)\n-
Bump the minor-actions-dependencies group with 2 updates
by\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1693](https://togithub.com/actions/checkout/pull/1693)\n-
Bump word-wrap from 1.2.3 to 1.2.5
by\n[@&#8203;dependabot](https://togithub.com/dependabot)
in\n[https://github.com/actions/checkout/pull/1643](https://togithub.com/actions/checkout/pull/1643)\n\n###\n[`v4.1.3`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v413)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.2...v4.1.3)\n\n-
Check git version before attempting to disable `sparse-checkout`
by\n[@&#8203;jww3](https://togithub.com/jww3)
in\n[https://github.com/actions/checkout/pull/1656](https://togithub.com/actions/checkout/pull/1656)\n-
Add SSH user parameter
by\n[@&#8203;cory-miller](https://togithub.com/cory-miller)
in\n[https://github.com/actions/checkout/pull/1685](https://togithub.com/actions/checkout/pull/1685)\n-
Update `actions/checkout` version in `update-main-version.yml`
by\n[@&#8203;jww3](https://togithub.com/jww3)
in\n[https://github.com/actions/checkout/pull/1650](https://togithub.com/actions/checkout/pull/1650)\n\n###\n[`v4.1.2`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v412)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.1...v4.1.2)\n\n-
Fix: Disable sparse checkout whenever `sparse-checkout` option is
not\npresent [@&#8203;dscho](https://togithub.com/dscho)
in\n[https://github.com/actions/checkout/pull/1598](https://togithub.com/actions/checkout/pull/1598)\n\n###\n[`v4.1.1`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v411)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4.1.0...v4.1.1)\n\n-
Correct link to GitHub Docs
by\n[@&#8203;peterbe](https://togithub.com/peterbe)
in\n[https://github.com/actions/checkout/pull/1511](https://togithub.com/actions/checkout/pull/1511)\n-
Link to release page from what's new section
by\n[@&#8203;cory-miller](https://togithub.com/cory-miller)
in\n[https://github.com/actions/checkout/pull/1514](https://togithub.com/actions/checkout/pull/1514)\n\n###\n[`v4.1.0`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v410)\n\n[Compare\nSource](https://togithub.com/actions/checkout/compare/v4...v4.1.0)\n\n-
[Add support for partial
checkout\nfilters](https://togithub.com/actions/checkout/pull/1396)\n\n</details>\n\n---\n\n###
Configuration\n\n📅 **Schedule**: Branch creation - At any time (no
schedule defined),\nAutomerge - At any time (no schedule defined).\n\n🚦
**Automerge**: Disabled by config. Please merge this manually once
you\nare satisfied.\n\n♻ **Rebasing**: Whenever PR becomes conflicted,
or you tick the\nrebase/retry checkbox.\n\n🔕 **Ignore**: Close this PR
and you won't be reminded about these\nupdates again.\n\n---\n\n- [ ]
<!-- rebase-check -->If you want to rebase/retry this PR, check\nthis
box\n\n---\n\nThis PR has been generated by
[Renovate\nBot](https://togithub.com/renovatebot/renovate).\n\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOk9wZXJhdGlvbnMiLCJiYWNrcG9ydDphbGwtb3BlbiIsInJlbGVhc2Vfbm90ZTpza2lwIl19-->\n\nCo-authored-by:
elastic-renovate-prod[bot]
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>","sha":"7865d0951cffcfa85d20119327bb1bb7a5ee0060"}}]}]
BACKPORT-->

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
2024-12-31 11:48:56 -05:00
Jon
5420df6ebc
[7.17] Update actions/checkout action to v4.2.0 (main) (#194078) (#194501)
#194078

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
2024-10-01 11:26:22 -05:00
Jon
24590fc111
[7.17] Update actions/checkout action to v4.1.7 (main) (#190439) (#190451)
Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
2024-08-14 10:24:06 +02:00
Brad White
1f073b5910
[7.17] Sync auto approve actions with main (#187919)
## Summary

Workflows are based on their state in the target branch, so this brings
the two actions in sync with `main` so we can backport in the future if
needed and the behavior is consistent.

[8.14 PR](https://github.com/elastic/kibana/pull/187918)
2024-07-09 15:11:54 -07:00
Jon
167c204e96
[7.17] [actions] Upgrade checkout to v4 (#173990) (#174178)
#173990
2024-01-03 08:45:50 -06:00
Kibana Machine
e55f9ee7ac
[7.17] [Ops] Fix auto-approve script (#160856) (#160859)
# Backport

This will backport the following commits from `main` to `7.17`:
- [[Ops] Fix auto-approve script
(#160856)](https://github.com/elastic/kibana/pull/160856)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Alex
Szabo","email":"alex.szabo@elastic.co"},"sourceCommit":{"committedDate":"2023-06-29T10:04:55Z","message":"[Ops]
Fix auto-approve script (#160856)\n\n## Summary\r\nOur original intent
of kibanamachine approving their own PRs didn't\r\nwork, we switch to
the default github-actions as an approver for\r\nkibanamachine's
PRs.","sha":"e3a35b9515f6b2e91226edc7392288f943a0ba3e","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","Team:Operations","release_note:skip","backport:all-open","v8.10.0"],"number":160856,"url":"https://github.com/elastic/kibana/pull/160856","mergeCommit":{"message":"[Ops]
Fix auto-approve script (#160856)\n\n## Summary\r\nOur original intent
of kibanamachine approving their own PRs didn't\r\nwork, we switch to
the default github-actions as an approver for\r\nkibanamachine's
PRs.","sha":"e3a35b9515f6b2e91226edc7392288f943a0ba3e"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/160856","number":160856,"mergeCommit":{"message":"[Ops]
Fix auto-approve script (#160856)\n\n## Summary\r\nOur original intent
of kibanamachine approving their own PRs didn't\r\nwork, we switch to
the default github-actions as an approver for\r\nkibanamachine's
PRs.","sha":"e3a35b9515f6b2e91226edc7392288f943a0ba3e"}}]}] BACKPORT-->

Co-authored-by: Alex Szabo <alex.szabo@elastic.co>
2023-06-29 15:50:22 +01:00
Kibana Machine
9025ae78ef
[7.17] chore(NA): remove debug step on auto approve backport action (#160826) (#160828)
# Backport

This will backport the following commits from `main` to `7.17`:
- [chore(NA): remove debug step on auto approve backport action
(#160826)](https://github.com/elastic/kibana/pull/160826)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Tiago
Costa","email":"tiago.costa@elastic.co"},"sourceCommit":{"committedDate":"2023-06-28T23:09:20Z","message":"chore(NA):
remove debug step on auto approve backport action (#160826)\n\nI believe
I found out what was wrong with the previous implementation of\r\nthe
action.\r\nWe were trying to check for the existence of the backport
label when the\r\nPR is created which is never there (as it gets added
afterwards).\r\n\r\nThis PR is replacing the checking of the label by
the assert that the\r\nbranch name on a backport starts with `backport`
and the creator of the\r\nPR is
kibanamachine.","sha":"5ac939091605a115420fa6e47307e70c2a157d9d","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","Team:Operations","release_note:skip","backport:all-open","v8.10.0"],"number":160826,"url":"https://github.com/elastic/kibana/pull/160826","mergeCommit":{"message":"chore(NA):
remove debug step on auto approve backport action (#160826)\n\nI believe
I found out what was wrong with the previous implementation of\r\nthe
action.\r\nWe were trying to check for the existence of the backport
label when the\r\nPR is created which is never there (as it gets added
afterwards).\r\n\r\nThis PR is replacing the checking of the label by
the assert that the\r\nbranch name on a backport starts with `backport`
and the creator of the\r\nPR is
kibanamachine.","sha":"5ac939091605a115420fa6e47307e70c2a157d9d"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/160826","number":160826,"mergeCommit":{"message":"chore(NA):
remove debug step on auto approve backport action (#160826)\n\nI believe
I found out what was wrong with the previous implementation of\r\nthe
action.\r\nWe were trying to check for the existence of the backport
label when the\r\nPR is created which is never there (as it gets added
afterwards).\r\n\r\nThis PR is replacing the checking of the label by
the assert that the\r\nbranch name on a backport starts with `backport`
and the creator of the\r\nPR is
kibanamachine.","sha":"5ac939091605a115420fa6e47307e70c2a157d9d"}}]}]
BACKPORT-->

Co-authored-by: Tiago Costa <tiago.costa@elastic.co>
2023-06-29 01:15:32 +01:00
Kibana Machine
bda9b6554e
[7.17] chore(NA): adds debug action to audit auto approve backports action (#160814) (#160819)
# Backport

This will backport the following commits from `main` to `7.17`:
- [chore(NA): adds debug action to audit auto approve backports action
(#160814)](https://github.com/elastic/kibana/pull/160814)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Tiago
Costa","email":"tiago.costa@elastic.co"},"sourceCommit":{"committedDate":"2023-06-28T21:07:53Z","message":"chore(NA):
adds debug action to audit auto approve backports action
(#160814)\n\nThis PR adds a separate debug step to the auto approve
backport action\r\nso we can understand whats going on with the event
payload.","sha":"0a14a2103844b57032514ca81968b28febf4b9cf","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","Team:Operations","release_note:skip","backport:all-open","v8.10.0"],"number":160814,"url":"https://github.com/elastic/kibana/pull/160814","mergeCommit":{"message":"chore(NA):
adds debug action to audit auto approve backports action
(#160814)\n\nThis PR adds a separate debug step to the auto approve
backport action\r\nso we can understand whats going on with the event
payload.","sha":"0a14a2103844b57032514ca81968b28febf4b9cf"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/160814","number":160814,"mergeCommit":{"message":"chore(NA):
adds debug action to audit auto approve backports action
(#160814)\n\nThis PR adds a separate debug step to the auto approve
backport action\r\nso we can understand whats going on with the event
payload.","sha":"0a14a2103844b57032514ca81968b28febf4b9cf"}}]}]
BACKPORT-->

Co-authored-by: Tiago Costa <tiago.costa@elastic.co>
2023-06-28 22:15:54 +01:00
Kibana Machine
853af70942
[7.17] fix(NA): checking pr author through github.head_ref instead of pull_request event on auto backport approve ghaction (#160807) (#160808)
# Backport

This will backport the following commits from `main` to `7.17`:
- [fix(NA): checking pr author through github.head_ref instead of
pull_request event on auto backport approve ghaction
(#160807)](https://github.com/elastic/kibana/pull/160807)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Tiago
Costa","email":"tiago.costa@elastic.co"},"sourceCommit":{"committedDate":"2023-06-28T19:56:11Z","message":"fix(NA):
checking pr author through github.head_ref instead of pull_request event
on auto backport approve ghaction (#160807)\n\nThe action is getting
skipped on backports and I suspect we were not\r\nchecking correctly for
the pr author. I changed it a little to make sure\r\nwe are getting the
pr author through the head ref so we can validate is\r\nbeing created by
kibanamachine.","sha":"c7b2d2be8a558b906b3924ec947bd14cd3a963e6","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","Team:Operations","release_note:skip","backport:all-open","v8.10.0"],"number":160807,"url":"https://github.com/elastic/kibana/pull/160807","mergeCommit":{"message":"fix(NA):
checking pr author through github.head_ref instead of pull_request event
on auto backport approve ghaction (#160807)\n\nThe action is getting
skipped on backports and I suspect we were not\r\nchecking correctly for
the pr author. I changed it a little to make sure\r\nwe are getting the
pr author through the head ref so we can validate is\r\nbeing created by
kibanamachine.","sha":"c7b2d2be8a558b906b3924ec947bd14cd3a963e6"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/160807","number":160807,"mergeCommit":{"message":"fix(NA):
checking pr author through github.head_ref instead of pull_request event
on auto backport approve ghaction (#160807)\n\nThe action is getting
skipped on backports and I suspect we were not\r\nchecking correctly for
the pr author. I changed it a little to make sure\r\nwe are getting the
pr author through the head ref so we can validate is\r\nbeing created by
kibanamachine.","sha":"c7b2d2be8a558b906b3924ec947bd14cd3a963e6"}}]}]
BACKPORT-->

Co-authored-by: Tiago Costa <tiago.costa@elastic.co>
2023-06-28 21:03:47 +01:00
Kibana Machine
87603402f1
[7.17] [Ops] Add github action for auto-approving PRs from kibanamachine (#160641) (#160792)
# Backport

This will backport the following commits from `main` to `7.17`:
- [[Ops] Add github action for auto-approving PRs from kibanamachine
(#160641)](https://github.com/elastic/kibana/pull/160641)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Alex
Szabo","email":"alex.szabo@elastic.co"},"sourceCommit":{"committedDate":"2023-06-28T15:55:30Z","message":"[Ops]
Add github action for auto-approving PRs from kibanamachine
(#160641)\n\n## Summary\r\nAdds a GitHub workflow/action for
auto-approving backport PRs incoming\r\nfrom kibanamachine.\r\n\r\nThese
changes are already reviewed by an owner when it was merged to\r\n`main`
- afterward the `kibanamachine` creates the PR to the
non-main\r\nbranches, these can be auto-approved when created, so that
the backport\r\nautomation is working without
assistance.","sha":"d7e8eaa1a254a0df9b920fa0e398eae2e48c0479","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:all-open","v8.10.0"],"number":160641,"url":"https://github.com/elastic/kibana/pull/160641","mergeCommit":{"message":"[Ops]
Add github action for auto-approving PRs from kibanamachine
(#160641)\n\n## Summary\r\nAdds a GitHub workflow/action for
auto-approving backport PRs incoming\r\nfrom kibanamachine.\r\n\r\nThese
changes are already reviewed by an owner when it was merged to\r\n`main`
- afterward the `kibanamachine` creates the PR to the
non-main\r\nbranches, these can be auto-approved when created, so that
the backport\r\nautomation is working without
assistance.","sha":"d7e8eaa1a254a0df9b920fa0e398eae2e48c0479"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/160641","number":160641,"mergeCommit":{"message":"[Ops]
Add github action for auto-approving PRs from kibanamachine
(#160641)\n\n## Summary\r\nAdds a GitHub workflow/action for
auto-approving backport PRs incoming\r\nfrom kibanamachine.\r\n\r\nThese
changes are already reviewed by an owner when it was merged to\r\n`main`
- afterward the `kibanamachine` creates the PR to the
non-main\r\nbranches, these can be auto-approved when created, so that
the backport\r\nautomation is working without
assistance.","sha":"d7e8eaa1a254a0df9b920fa0e398eae2e48c0479"}}]}]
BACKPORT-->

Co-authored-by: Alex Szabo <alex.szabo@elastic.co>
2023-06-28 18:04:04 +01:00
Brian Seeders
9893ff5003
Create on-merge.yml 2022-07-14 16:23:02 -04:00