Skip to content

feat: add cherry-pick slash command workflow#1928

Open
vdemeester wants to merge 1 commit into
tektoncd:mainfrom
vdemeester:issue-3004-cherry-pick
Open

feat: add cherry-pick slash command workflow#1928
vdemeester wants to merge 1 commit into
tektoncd:mainfrom
vdemeester:issue-3004-cherry-pick

Conversation

@vdemeester

Copy link
Copy Markdown
Member

Changes

This PR adds the cherry-pick slash command workflow to triggers (addresses tektoncd/plumbing#3004).

What's included:

  • New slash.yml workflow to enable slash commands on PRs
  • New cherry-pick-command.yaml workflow using the centralized plumbing reusable workflow
  • Enables /cherry-pick <branch> command for easier backports to release branches

Benefits:

  • Streamlines cherry-picking to release branches with simple slash command
  • Uses centralized, well-tested logic from tektoncd/plumbing
  • Consistent behavior with other tektoncd repositories
  • Reduces manual cherry-pick errors

Usage:
Comment /cherry-pick release-v0.34.x on a merged PR to automatically create a cherry-pick PR to that branch.

Submitter Checklist

  • Includes tests (N/A - workflow files only)
  • Includes docs (comprehensive inline documentation in workflow files)
  • Commit messages follow commit message best practices

Release Notes

NONE

@tekton-robot tekton-robot added the release-note-none Denotes a PR that doesnt merit a release note. label Dec 10, 2025
@tekton-robot tekton-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Dec 10, 2025
@vdemeester

Copy link
Copy Markdown
Member Author

/kind misc

@tekton-robot tekton-robot added the kind/misc Categorizes issue or PR as a miscellaneuous one. label Dec 10, 2025

@infernus01 infernus01 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.

This PR will need a rebase when #1929 gets merged.

- Bump plumbing _slash.yml ref to enable /cherry-pick dispatch
- Add cherry-pick-command.yaml using plumbing reusable workflow
- Enable /cherry-pick command for easier backports to release branches
- Uses centralized cherry-pick logic from tektoncd/plumbing

Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
@vdemeester
vdemeester force-pushed the issue-3004-cherry-pick branch from 8036762 to d83047c Compare July 2, 2026 14:21
@tekton-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please assign savitaashture after the PR has been reviewed.
You can assign the PR to them by writing /assign @savitaashture in a comment when ready.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

issues: write # for peter-evans/slash-command-dispatch to create issue reaction
pull-requests: write # for peter-evans/slash-command-dispatch to create PR reaction
uses: tektoncd/plumbing/.github/workflows/_slash.yml@48c53b4e7f1e0bb206575b80eb9fcf07b5854907
uses: tektoncd/plumbing/.github/workflows/_slash.yml@4b57443b85569e5bb7d9ee440bf5cae99cb642cb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/misc Categorizes issue or PR as a miscellaneuous one. release-note-none Denotes a PR that doesnt merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants