Skip to content

Commit

Permalink
Add workflow for patch release (#5079)
Browse files Browse the repository at this point in the history
Signed-off-by: Yoshiki Fujikane <[email protected]>
  • Loading branch information
ffjlabo authored Jul 26, 2024
1 parent 5dc4ee3 commit 98093d2
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/cherry_pick.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: cherry_pick

on:
workflow_dispatch:
inputs:
releaseBranch:
description: 'release branch (e.g. release-v0.48.x)'
required: true
type: string
version:
description: 'release version (e.g. v0.48.1)'
required: true
type: string
jobs:
tool:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: make a cherry-pick PR
run: make release/pick branch=${{ inputs.releaseBranch }} pull_numbers="$(gh pr list --label cherry-pick --label ${{ inputs.version }} --state merged | awk '{print $1}' | sort | paste -sd ' ' -)"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 98093d2

Please sign in to comment.