Skip to content

Commit

Permalink
Fix cp command
Browse files Browse the repository at this point in the history
  • Loading branch information
oxve committed Sep 28, 2023
1 parent 41830d1 commit c5c6541
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/label-cherry-pick.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,16 @@ jobs:
id: cherry-pick
continue-on-error: true
run: |
set -e
git fetch origin ${{ matrix.target_branch }}
set +e
git cherry-pick -x $MERGE_COMMIT_SHA
git add .
git cherry-pick --continue
RES=$?
set -e
if [ $RES -ne 0 ]; then
git add .
git cherry-pick --continue
fi
exit $RES
- name: Create Pull Request
id: create-pr
Expand Down

0 comments on commit c5c6541

Please sign in to comment.