Skip to content

Conversation

@pazone
Copy link
Contributor

@pazone pazone commented Jun 16, 2025

What does this PR do?

A follow up for #8352

Creates autoapprove and automerge pull request rules that are triggered when:

  • the only pkg/testing/ess/create_deployment_csp_configuration.yaml is changed
  • PR author: github-actions[bot]
  • buildkite/elastic-agent passed
  • Head starts with updatecli_

Additional condition for automerge: The number of approvals is greater than or equal to 1

Why is it important?

Checklist

  • I have read and understood the pull request guidelines of this project.
  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in ./changelog/fragments using the changelog tool
  • I have added an integration test or an E2E test

Disruptive User Impact

How to test this PR locally

Related issues

Questions to ask yourself

  • How are we going to support this in production?
  • How are we going to measure its adoption?
  • How are we going to debug this?
  • What are the metrics I should take care of?
  • ...

@pazone pazone added enhancement New feature or request skip-changelog backport-active-all Automated backport with mergify to all the active branches labels Jun 16, 2025
@mergify mergify bot assigned pazone Jun 16, 2025
@pazone pazone requested a review from v1v June 16, 2025 13:55
Copy link
Member

@v1v v1v left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think we can add the automation for rebase PRs if they not up-to-date and their CI failed? See #8470

@pazone
Copy link
Contributor Author

pazone commented Jun 16, 2025

Do you think we can add the automation for rebase PRs if they not up-to-date and their CI failed? See #8470

The suggestion is clear. Do I need to specify a schedule for the reabse rule?

@pazone pazone requested a review from pkoutsovasilis June 16, 2025 14:17
@pazone pazone marked this pull request as ready for review June 16, 2025 14:18
@pazone pazone requested a review from a team as a code owner June 16, 2025 14:18
@pazone pazone requested a review from swiatekm June 16, 2025 14:18
Copy link
Member

@v1v v1v left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, already reviewed together and tested using https://dashboard.mergify.com/workflow-automation?repository=elastic-agent&login=elastic. Thanks Pavel


I removed the backport labels, mergify does only honour the default branch.

@v1v v1v added backport-skip and removed backport-active-all Automated backport with mergify to all the active branches labels Jun 16, 2025
@pazone
Copy link
Contributor Author

pazone commented Jun 16, 2025

@pkoutsovasilis

@pazone pazone merged commit 41a3964 into main Jun 16, 2025
11 checks passed
@pazone pazone deleted the ci_mergify_automerge_config branch June 16, 2025 15:37
mergify bot pushed a commit that referenced this pull request Jul 9, 2025
(cherry picked from commit fb8b883)

# Conflicts:
#	pkg/testing/ess/create_deployment_csp_configuration.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants