Skip to content

Commit

Permalink
Merge branch 'main' into grouped-alert-table
Browse files Browse the repository at this point in the history
  • Loading branch information
maryam-saeidi authored Aug 20, 2024
2 parents a4d5dd0 + f98ef4c commit 0a312d6
Show file tree
Hide file tree
Showing 235 changed files with 4,693 additions and 8,973 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/auto-approve-bundled-package-updates.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
on:
pull_request:
types:
- opened
paths:
- 'fleet_packages.json'

jobs:
approve:
name: Auto-approve bundled package updates
runs-on: ubuntu-latest
if: |
startsWith(github.event.pull_request.head.ref, 'update-bundled-packages') &&
github.event.pull_request.user.login == 'elasticmachine'
permissions:
pull-requests: write
steps:
- uses: hmarr/auto-approve-action@f0939ea97e9205ef24d872e76833fa908a770363 # v4.0.0
32 changes: 0 additions & 32 deletions .github/workflows/backport.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/on-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ jobs:
runs-on: ubuntu-latest
if: |
github.event.pull_request.merged == true
&& !contains(github.event.pull_request.labels.*.name, 'auto-backport')
&& (
(
github.event.action == 'labeled' && (
Expand All @@ -19,6 +18,7 @@ jobs:
|| github.event.label.name == 'backport:current-major'
|| github.event.label.name == 'backport:all-open'
|| github.event.label.name == 'backport:version'
|| github.event.label.name == 'auto-backport'
)
)
|| (github.event.action == 'closed')
Expand Down
5 changes: 3 additions & 2 deletions dev_docs/contributing/how_we_use_github.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,11 @@ it's notable and affects our users) and which section it appears in. For example
The following labels are related to backporting PRs:
- `auto-backport`: Automatically backport this PR (to the branches related to
- `backport:version`: Automatically backport this PR (to the branches related to
version labels) after it's merged. Requires adding desired target versions labels.
- `backport:prev-minor`: Automatically backport to one lower minor version.
- `backport:prev-major`: Automatically backport to the latest minor version of one lower major version.
- `backport:prev-major`: Automatically backport to all minor version of one lower major version.
- `backport:current-major`: Automatically backport to all minor version of the current major version.
- `backport:all-open`: Automatically backport to all generally available versions. This functionally is equivalent to backport:prev-major at the time of writing.
- `backport:skip`: This PR does not require backporting.
- `backport`: This PR was backported (added by CI).
2 changes: 1 addition & 1 deletion dev_docs/tutorials/submit_a_pull_request.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ If this is a new branch, you will see a link in your terminal that points you di
2. Features: Add labels for any relevant feature areas, e.g. `Feature:Development`
3. Team: Most PRs should have at least one `Team:` label. Add labels for teams that should follow or are responsible for the pull request.
4. Release Note: Add `release_note:skip` if this pull request should not automatically get added to release notes for Kibana
5. Auto Backport: Add `auto-backport` if you'd like your pull request automatically backported to all labeled versions.
5. Auto Backport: Add `backport:version` if you'd like your pull request automatically backported to all labeled versions.
6. Submit the pull request. If it's not quite ready for review, it can also be submitted as a Draft pull request.

![Screenshot of Compare and pull request header](../assets/pr_header.png)
Expand Down
3 changes: 1 addition & 2 deletions docs/action-type-template.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ Add preconfigured settings for this connector type in alert-action-settings.asci
[[<ACTION-TYPE>-action-configuration]]
=== Test connectors

You can test connectors with the <<execute-connector-api,run connector API>> or
as you're creating or editing the connector in {kib}.
You can test connectors as you're creating or editing the connector in {kib}.

<ACTION-TYPE> actions have the following properties.

Expand Down
18 changes: 1 addition & 17 deletions docs/api/actions-and-connectors.asciidoc
Original file line number Diff line number Diff line change
@@ -1,23 +1,7 @@
[[actions-and-connectors-api]]
== Action and connector APIs

NOTE: For the latest details, refer to {api-kibana}/group/endpoint-connectors[connector APIs].

For information about the actions and connectors that {kib} supports, refer to
<<action-types>>.

include::actions-and-connectors/create.asciidoc[leveloffset=+1]
include::actions-and-connectors/delete.asciidoc[leveloffset=+1]
include::actions-and-connectors/get.asciidoc[leveloffset=+1]
include::actions-and-connectors/get_all.asciidoc[leveloffset=+1]
include::actions-and-connectors/list.asciidoc[leveloffset=+1]
include::actions-and-connectors/execute.asciidoc[leveloffset=+1]
include::actions-and-connectors/update.asciidoc[leveloffset=+1]
include::actions-and-connectors/legacy/index.asciidoc[]
include::actions-and-connectors/legacy/get.asciidoc[]
include::actions-and-connectors/legacy/get_all.asciidoc[]
include::actions-and-connectors/legacy/list.asciidoc[]
include::actions-and-connectors/legacy/create.asciidoc[]
include::actions-and-connectors/legacy/update.asciidoc[]
include::actions-and-connectors/legacy/execute.asciidoc[]
include::actions-and-connectors/legacy/delete.asciidoc[]
For the latest API details, refer to {api-kibana}/group/endpoint-connectors[connector APIs].
Loading

0 comments on commit 0a312d6

Please sign in to comment.