We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 502c597 commit c14b25bCopy full SHA for c14b25b
.github/workflows/auto-pr-new.yml
@@ -36,10 +36,7 @@ jobs:
36
git checkout $NEXT_BRANCH
37
FROM=${{github.event.commits[0].id}}
38
TO=${{github.event.head_commit.id}}
39
- BRANCH=auto_pr/$NEXT_VERSION/$FROM-$TO
40
- git checkout -b $BRANCH
41
- git cherry-pick -X theirs $FROM~..$TO || (echo "$FROM~..$TO" > cherry-pick-failed.txt)
42
- git push
43
- gh pr create --base "$BRANCH" --head "release/$CURRENT_VERSION" \
+ git cherry-pick -X theirs $FROM~..$TO || (echo "$FROM~..$TO" > cherry-pick-failed.txt; git add cherry-pick-failed.txt; git commit -m cherry-pick-failed.txt)
+ gh pr create
44
--title "Auto PR from release/$CURRENT_VERSION" \
45
--body 'Created by Github action'
0 commit comments