chore(ci): cherry-pick only PRs targetting master #12820
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Kong-ee uses different names for long-lived branches (they are not prefixed by
release
like in Kong CE).This means that any pr targetting any branch other than master will get "confused" (since it will not find the branch it expects in EE) and throw an error.
Since our CE backport action copies the labels from the original PR, this means that all the backports are also labeled for cherrypicking. Which is not
our desired workflow: in general we want a change to be cherry-picked from kong-CE/master to kong-EE/master, and then backported to any kong-EE long-lived
branches if necessary.
This change makes the cherry-pick action ignore any PRs not targetting master to avoid these issues.
Checklist
changelog/unreleased/kong
orskip-changelog
label added on PR if changelog is unnecessary. README.mdIssue reference
Fix #[issue number]