Skip to content

Commit

Permalink
try --no-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jprochazk committed Nov 7, 2024
1 parent 783e1f1 commit f1c0565
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/auto_docs_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ jobs:
git checkout -b temp-cherry-pick
# Try the cherry-pick and capture the exit code
if git cherry-pick ${{ github.sha }}; then
if git cherry-pick --no-commit ${{ github.sha }}; then
echo "Cherry-pick successful"
exit 0
else
echo "Cherry-pick failed"
git cherry-pick --abort
printf $(git diff)
exit 1
fi

0 comments on commit f1c0565

Please sign in to comment.