Skip to content

Commit

Permalink
Add cherry-pick script
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestognw committed Jan 3, 2023
1 parent b4c03cb commit caa863c
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/cherry-pick-fix.yml
@@ -0,0 +1,27 @@
name: Cherry Pick Fix

on:
workflow_dispatch:
inputs:
commit:
description: 'Commit to pick from master'
required: true
type: string

jobs:
build:
runs-on: ubuntu-latest
if: ${{ contains(github.ref_name, 'release-v') }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up environment
uses: ./.github/actions/setup
- run: bash scripts/git-user-config.sh
<<<<<<< HEAD
=======
- run: git fetch --
>>>>>>> 9b519255 (Add cherry-pick script)
- run: git cherry-pick ${{ inputs.commit }}
- run: git push --all origin

0 comments on commit caa863c

Please sign in to comment.