-
Notifications
You must be signed in to change notification settings - Fork 4
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
Enhance CI Workflow: Check for Version Bump and appVersion Changes #44
Enhance CI Workflow: Check for Version Bump and appVersion Changes #44
Conversation
…change feat: additional approval on Version change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some naming, maybe @JTaeuber will find something but the rest looks good to me
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, lets have @JTaeuber have a look over it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will change the rest on my branch. Other than that it looks good.
* refactor create_release workflow to make automatic release * add check_version workflow * refactor doc´ker build * refactor helm build * refactor create_release.yaml * change version to 1.0.0 * fix path ref * add missing v * refactor workflows * Enhance CI Workflow: Check for Version Bump and appVersion Changes (#44) * feat: additional approval on Version change * fix: combine version bump check and approve by label * fix: adjust label name * fix: remove tag comparison * fix: base_ref * fix: some naming changes * Fix syntax Co-authored-by: Jonathan Mayer <[email protected]> * refactor check-for-release.yaml * fix dependency * resolve merge conflicts * add label removing * chore: syntax * change message * removed not needed if checks * removal of new release --------- Co-authored-by: Johannes <[email protected]> Co-authored-by: Jonathan Mayer <[email protected]>
* refactor create_release workflow to make automatic release * add check_version workflow * refactor doc´ker build * refactor helm build * refactor create_release.yaml * change version to 1.0.0 * fix path ref * add missing v * refactor workflows * Enhance CI Workflow: Check for Version Bump and appVersion Changes (#44) * feat: additional approval on Version change * fix: combine version bump check and approve by label * fix: adjust label name * fix: remove tag comparison * fix: base_ref * fix: some naming changes * Fix syntax Co-authored-by: Jonathan Mayer <[email protected]> * refactor check-for-release.yaml * fix dependency * resolve merge conflicts * add label removing * chore: syntax * change message * removed not needed if checks * removal of new release * fix errors in workflows --------- Co-authored-by: Johannes <[email protected]> Co-authored-by: Jonathan Mayer <[email protected]>
* refactor create_release workflow to make automatic release * add check_version workflow * refactor doc´ker build * refactor helm build * refactor create_release.yaml * change version to 1.0.0 * fix path ref * add missing v * refactor workflows * Enhance CI Workflow: Check for Version Bump and appVersion Changes (#44) * feat: additional approval on Version change * fix: combine version bump check and approve by label * fix: adjust label name * fix: remove tag comparison * fix: base_ref * fix: some naming changes * Fix syntax Co-authored-by: Jonathan Mayer <[email protected]> * refactor check-for-release.yaml * fix dependency * resolve merge conflicts * add label removing * chore: syntax * change message * removed not needed if checks * removal of new release * fix errors in workflows * fix appVersion variable mismatch --------- Co-authored-by: Johannes <[email protected]> Co-authored-by: Jonathan Mayer <[email protected]>
Motivation
This change improves the existing CI workflow by adding a check for both version bumps and changes to the
appVersion
in theChart.yaml
. It aims to ensure that any changes to key versioning information are caught and flagged during the pull request process, providing maintainers the ability to block merges if necessary.Changes
appVersion
between the PR and themain
branch.appVersion
change is detected.release
label is applied.Tests done
Chart.yaml
.release
label.appVersion
field.TODO
Ensure that the branch protection rules for the main branch enforce the
Version Bump Check
status check.The workflow requires write access to contents and pull requests to set statuses and post comments. Make sure the following permissions are enabled for GitHub Actions:
write
write
I've assigned myself to this PR