Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restrict draft PR CI runs to label #172315

Closed
wants to merge 9 commits into from

Conversation

Ikuni17
Copy link
Contributor

@Ikuni17 Ikuni17 commented Nov 30, 2023

Summary

This is the first stage in an effort to reduce unnecessary CI usage. Draft PRs will no longer trigger a full CI run automatically. A PR author can add the label ci:run_on_draft and retrigger the CI (push, merge main or @elasticmachine merge upstream ) to bypass this restriction.

More info: https://github.com/elastic/kibana-operations/issues/32

Example CI runs:
Draft PR, no label
Draft PR, with label
Open PR, with label
Open PR, no label

@Ikuni17 Ikuni17 self-assigned this Nov 30, 2023
@Ikuni17 Ikuni17 added Team:Operations Team label for Operations Team release_note:skip Skip the PR/issue when compiling release notes backport:all-open Backport to all branches that could still receive a release labels Nov 30, 2023
@Ikuni17 Ikuni17 marked this pull request as ready for review November 30, 2023 21:04
@Ikuni17 Ikuni17 requested a review from a team as a code owner November 30, 2023 21:04
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@Ikuni17
Copy link
Contributor Author

Ikuni17 commented Nov 30, 2023

@elasticmachine merge upstream

@Ikuni17
Copy link
Contributor Author

Ikuni17 commented Nov 30, 2023

@elasticmachine merge upstream

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @Ikuni17

@Ikuni17 Ikuni17 marked this pull request as draft December 1, 2023 21:08
@Ikuni17
Copy link
Contributor Author

Ikuni17 commented Dec 6, 2023

This is being handled a different way in the PR bot elastic/buildkite-pr-bot/pull/10

@Ikuni17 Ikuni17 closed this Dec 6, 2023
@Ikuni17 Ikuni17 deleted the feature/restrict-draft-ci branch February 9, 2024 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:all-open Backport to all branches that could still receive a release release_note:skip Skip the PR/issue when compiling release notes Team:Operations Team label for Operations Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants