Skip to content

Commit

Permalink
[code-infra] Allow dispatch of manual cherry-pick workflow (#16299)
Browse files Browse the repository at this point in the history
  • Loading branch information
JCQuintas authored Jan 22, 2025
1 parent dea1ae4 commit 7b9b940
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/create-cherry-pick-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@ on:
pull_request_target:
branches: [master, next, 'v[0-9]+.x']
types: [closed]
workflow_dispatch:
inputs:
target_branch:
description: 'A target branch passed from the caller workflow'
required: true
type: string
pr_number:
description: 'The PR number to cherry-pick from'
required: true
type: string

permissions: {}

Expand All @@ -13,3 +23,6 @@ jobs:
permissions:
contents: write
pull-requests: write
with:
target_branch: ${{ inputs.target_branch }}
pr_number: ${{ inputs.pr_number }}

0 comments on commit 7b9b940

Please sign in to comment.