Infra: Ignore backport prefix in branch name in LTS test#4092
Merged
jumaffre merged 1 commit intomicrosoft:mainfrom Aug 3, 2022
Merged
Conversation
|
lts_compatibility_backport_branch_name@48280 aka 20220803.9 vs main ewma over 20 builds from 47939 to 48267 Click to see tablemain
lts_compatibility_backport_branch_name
|
eddyashton
approved these changes
Aug 3, 2022
github-actions bot
pushed a commit
that referenced
this pull request
Aug 3, 2022
(cherry picked from commit e652418)
eddyashton
pushed a commit
to eddyashton/CCF
that referenced
this pull request
Aug 11, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

Resolves #4090
The LTS compatibility test deduces the version(s) with which to test compatibility based on the name of the local branch/tag. However, the backport GitHub Action automatically creates a branch prefixed with
backport/to backport the changes (see for example here), which breaks the assumptions of the LTS compatibility, which will always run the LTS compatibility test as if it was run onmain(i.e. skipping compatibility test with the previous LTS).This PR fixes this, so that the
backport/prefix is ignored by the LTS compatibility test.