(Breaking change) chore: change default target-branch to main by fty4 · Pull Request #510 · helm/chart-testing · GitHub
Skip to content

(Breaking change) chore: change default target-branch to main - #510

Merged
cpanato merged 4 commits into
helm:mainfrom
fty4:chore/target-branch-main
Nov 19, 2023
Merged

cpanato merged 4 commits into
helm:mainfrom
fty4:chore/target-branch-main

Conversation

@fty4

@fty4 fty4 commented Jan 6, 2023

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

Because the default branch on GitHub is main and not longer master this should also be the default to chart-testing.

Which issue this PR fixes:

fixes #376

Special notes for your reviewer:

BREAKING CHANGE:
If e.g an action or workflow is not using an explicit specified target-branch the job might will fail after this change.

But after this change new users does not have the problem that a wrong branch is used.
For example I was suffering with the error message exit status 128- see #330 because the default branch was not main.

@fty4 fty4 changed the title Chore/target branch main chore: change default target-branch to main Jan 6, 2023

@thisisrachelramos thisisrachelramos left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

@cpanato cpanato closed this Jul 6, 2023
@cpanato cpanato reopened this Jul 6, 2023
@cpanato
cpanato requested a review from davidkarlsen July 6, 2023 08:12
@cpanato

cpanato commented Jul 6, 2023

Copy link
Copy Markdown
Member

fty4 added 3 commits July 17, 2023 13:57
closes #376

Signed-off-by: Marco Lecheler <marco@task.media>
Signed-off-by: Marco Lecheler <marco.lecheler@mercedes-benz.com>
Signed-off-by: Marco Lecheler <marco@task.media>
Signed-off-by: Marco Lecheler <marco.lecheler@mercedes-benz.com>
Signed-off-by: Marco Lecheler <marco@task.media>
Signed-off-by: Marco Lecheler <marco.lecheler@mercedes-benz.com>
@fty4

fty4 commented Jul 17, 2023

Copy link
Copy Markdown
Contributor Author

@cpanato I've updated the docs and forced-pushed the rebased commits.
(Required multiple force-push because of DCO)

@cpanato

cpanato commented Jul 17, 2023

Copy link
Copy Markdown
Member

this will be a breaking change for existing users, if they dont set the --target-branch in the config

@fty4

fty4 commented Jul 17, 2023

Copy link
Copy Markdown
Contributor Author

That is true - I already mentioned this in the PR body.

New users will still have to specify the parameter if this will not be changed.

@cpanato

cpanato commented Aug 16, 2023

Copy link
Copy Markdown
Member

when we release I will make a note in the release notes for this

@cpanato cpanato left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

small request

Comment thread examples/kind/README.md Outdated
Co-authored-by: Carlos Tadeu Panato Junior <ctadeu@gmail.com>
Signed-off-by: Marco Lecheler <marco@task.media>
@fty4
fty4 requested a review from cpanato September 15, 2023 10:18
@odysseu

odysseu commented Oct 4, 2023

Copy link
Copy Markdown

LGTM 👍

@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions Bot added the Stale label Nov 19, 2023
@cpanato cpanato changed the title chore: change default target-branch to main (Breaking change) chore: change default target-branch to main Nov 19, 2023

@cpanato cpanato left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm

@davidkarlsen

Copy link
Copy Markdown
Member

Lgtm. We can maybe bump version number a bit to signal breaking change.

@cpanato

cpanato commented Nov 19, 2023

Copy link
Copy Markdown
Member

Lgtm. We can maybe bump version number a bit to signal breaking change.

yes

@cpanato

cpanato commented Nov 19, 2023

Copy link
Copy Markdown
Member

@cpanato
cpanato merged commit 61b5438 into helm:main Nov 19, 2023
@fty4
fty4 deleted the chore/target-branch-main branch November 20, 2023 09:54
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.

[Feature Request] target-branch default should fallback to main from master (or visa versa)

7 participants