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

Ignore pushes to branches prefixed with backport- in CI #21989

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

prolativ
Copy link
Contributor

We're going to use a changed branch naming schema for backporting branches in backporting scripts to avoid problems with branch protection rules:
backport-lts-{pr_number} instead of lts-backport-{pr_number}.
When backporting PRs in a batch we only want to run the build for the last PR in a batch. We don't care about builds for particular branches

@@ -20,6 +20,7 @@ on:
- 'gh-readonly-queue/**'
- 'release-**'
- 'lts-**'
- 'backport-**'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@hamzaremmal actually, do we care about builds of branches other than main? Typically a branch has a corresponding PR and then running the CI for this PR should be enough, right?

Copy link
Contributor

Choose a reason for hiding this comment

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

Depends. We do sometimes maintain feature branches (like we did cc-experiment)...

Copy link
Contributor

@Gedochao Gedochao left a comment

Choose a reason for hiding this comment

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

LGTM

@prolativ prolativ merged commit cb56072 into lts-3.3 Nov 21, 2024
33 checks passed
@prolativ prolativ deleted the optimize-lts-ci branch November 21, 2024 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants