Current State
- A reusable cherry-pick workflow already exists in plumbing (
_cherry-pick-command.yaml)
- Only 2 repositories use the plumbing version (pipeline, plumbing)
- 1 repository has a local copy not using plumbing (operator)
- Multiple repositories are missing the cherry-pick workflow entirely
Proposed Solution
Step 1: Migrate existing workflow
- Update operator to use the reusable workflow from plumbing
- Replace local implementation with a simple workflow_call to
tektoncd/plumbing/.github/workflows/_cherry-pick-command.yaml@{digest}
Step 2: Add workflow to remaining repos
- Add cherry-pick workflow to repos that don't have it
- Use the plumbing reusable workflow from the start
- Ensure each repo also has the slash.yml workflow configured to trigger cherry-pick-command
Benefits
- Consistent cherry-pick functionality across all tektoncd repositories
- Easier to update/maintain (change once in plumbing, propagates everywhere)
- Single source of truth for cherry-pick implementation
- Better automation for release branch management
Repositories Affected
Need migration (1):
Need addition (9):
Current State
_cherry-pick-command.yaml)Proposed Solution
Step 1: Migrate existing workflow
tektoncd/plumbing/.github/workflows/_cherry-pick-command.yaml@{digest}Step 2: Add workflow to remaining repos
Benefits
Repositories Affected
Need migration (1):
Need addition (9):