Thanks to visit codestin.com Credit goes to github.com
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.
1 parent 2ee230f commit bf301d1Copy full SHA for bf301d1
.github/workflows/rebuild.yml
@@ -73,7 +73,13 @@ jobs:
73
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
74
git config --global user.name "github-actions[bot]"
75
git add --all
76
- git commit -m "Rebuild"
+ # If the merge originally had conflicts, finish the merge.
77
+ # Otherwise, just commit the changes.
78
+ if git rev-parse --verify MERGE_HEAD >/dev/null 2>&1; then
79
+ git merge --continue
80
+ else
81
+ git commit -m "Rebuild"
82
+ fi
83
git push origin "HEAD:$BRANCH"
84
echo "changes=true" >> $GITHUB_OUTPUT
85
fi
0 commit comments