clients/.github/workflows/cherry-pick.yml
gitclonebrian a6852bdaec
[BRE-1550] Added cherry-pick workflow (#19343)
* added cherry-pick workflow

* removed hotfix-rc branch from dest_branch options and added the standard hotfix branches

* added cherry-pick workflow to codeowners and set ownership to team-platform-dev
2026-03-20 21:51:42 -04:00

39 lines
1.0 KiB
YAML

name: Automated cherry pick
run-name: Automated cherry pick - ${{ github.repository }}
on:
workflow_dispatch:
inputs:
source_pr:
description: 'Pull request to cherry pick from. (e.g., 456)'
required: true
type: string
dest_branch:
description: 'Destination branch to cherry pick to. (e.g., hotfix-rc)'
required: true
type: choice
options:
- rc
- hotfix-rc-web
- hotfix-rc-desktop
- hotfix-rc-browser
- hotfix-rc-cli
permissions: {}
jobs:
cherry-pick:
name: Cherry Pick
uses: bitwarden/gh-actions/.github/workflows/_cherry-pick.yml@main
with:
source_pr: ${{ inputs.source_pr }}
dest_branch: ${{ inputs.dest_branch }}
dest_branch_allowed: ''
permissions:
contents: read
id-token: write
secrets:
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}