We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 817bdd1 + 357a84f commit 62fbb2aCopy full SHA for 62fbb2a
.github/workflows/commands.yml
@@ -64,7 +64,7 @@ jobs:
64
run: |
65
echo "outcome=${{ steps.run-cmd.outcome }}" > result
66
if [[ "${{ steps.run-cmd.outcome }}" == "success" ]]; then
67
- git diff > repo.patch || true
+ git diff -U5 > repo.patch || true
68
if [ -s repo.patch ]; then echo "hasPatch=true" >> result; else echo "hasPatch=false" >> result; fi
69
else
70
echo "hasPatch=false" >> result
@@ -111,7 +111,7 @@ jobs:
111
- name: Apply and push patch
112
if: ${{ steps.read-meta.outputs.step_outcome == 'success' && steps.read-meta.outputs.hasPatch == 'true' }}
113
114
- git apply repo.patch
+ git apply --3way repo.patch
115
git config user.name "GH Actions"
116
git config user.email "actions@github.com"
117
git add -A
0 commit comments