LIB-982: Implement versioning workflows and clean up GitHub Actions in operator fork#14
Merged
KevinKlaesRackspace2 merged 4 commits intoJul 13, 2026
Conversation
Add auto-version-bump.yaml that bumps pkg/version/version.txt based on PR labels (bump:patch, bump:minor, bump:major). Implements subversioned format X.Y.Z-N where bump:patch increments the -N suffix. Add label-check.yaml that blocks merge when a PR with code changes lacks a version label or skip-release label. Both workflows use path filters scoped to operator code directories: pkg/, cmd/, build/, config/, deploy/.
Remove workflows not applicable to our fork: - scan.yml: builds to upstream Percona Docker Hub registry - stale.yml: community PR management - labeler.yml: community fork detection - renovate.yaml: redundant with existing dependabot.yml Remove associated config files: - .github/labeler.yml: labeler workflow config - .github/pr-badge.yml: upstream PR badge config
- Add github.com/objectrocket to goimports-reviser company prefixes alongside github.com/percona - Remove release-* branch conditionals from manifests check since we only use the main branch. Always generate with VERSION=main.
Update pkg/version/version.txt to 1.22.0-1 as starting point for our subversioned bumps. The -N suffix distinguishes our builds from upstream Percona releases that use the same base version. Update pkg/version/version.go: - Version() now strips the -N suffix and returns base semver (1.22.0) for CRVersion feature-gating comparisons (hashicorp/go-version treats hyphens as prerelease identifiers) - Add FullVersion() that returns the complete version string including subversion suffix, used for image tagging and CRD labels Update version_test.go to use FullVersion() for CRD label validation. Update CRD patches and generated deploy manifests to reflect v1.22.0-1.
KevinKlaesRackspace2
marked this pull request as ready for review
July 13, 2026 19:50
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.
Description
What this does
New workflows:
Removed upstream cruft:
Updated:
Subversion scheme
Since 1.22.0 tracks the upstream Percona release we forked from, we can't meaningfully bump patch/minor/major in the traditional sense for our own changes. Instead, bump:patch increments a -N suffix (1.22.0-1 → 1.22.0-2 → ...). bump:minor and bump:major are reserved for upstream rebases (e.g., moving to 1.23.0-1). Image tags use this directly: 1.22.0-1-objectrocket.
Reviewer notes
CHANGE DESCRIPTION
Problem:
Short explanation of the problem.
Cause:
Short explanation of the root cause of the issue if applicable.
Solution:
Short explanation of the solution we are providing with this PR.
CHECKLIST
Jira
Needs Doc) and QA (Needs QA)?Tests
compare/*-oc.yml)?Config/Logging/Testability