File tree Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 21
21
git checkout -q test_head
22
22
if git merge --no-edit --squash -q pr-$a ; then
23
23
echo " ::endgroup::"
24
- git commit -q -m " Merge https://github.com/$REPO /pull/$a " -a --allow-empty
25
- echo " Merged #$a "
24
+ if git commit -q -m " Merge https://github.com/$REPO /pull/$a " -a --no-allow-empty; then
25
+ echo " Merged #$a "
26
+ else
27
+ echo " Empty, skipped"
28
+ fi
26
29
else
27
30
echo " ::endgroup::"
28
31
echo " Failure merging #$a , resetting"
Original file line number Diff line number Diff line change 99
99
# After applying the fixes, make sure all changes are marked as uncommitted changes.
100
100
run : |
101
101
if [ -r upstream/ci_fixes.patch ]; then
102
- (cd worktree-image && git commit --quiet -m "current changes" --allow-empty -a && git am) < upstream/ci_fixes.patch
103
- git reset --quiet old
104
- git add --quiet -N .
102
+ (cd worktree-image && git commit -q -m "current changes" --allow-empty -a && git am; git reset --quiet old; git add -N .) < upstream/ci_fixes.patch
105
103
fi
106
104
107
105
- name : Incremental build, test changed files (sage -t --new)
Original file line number Diff line number Diff line change 85
85
# After applying the fixes, make sure all changes are marked as uncommitted changes.
86
86
run : |
87
87
if [ -r upstream/ci_fixes.patch ]; then
88
- (cd worktree-image && git commit -m "current changes" --allow-empty -a && git am) < upstream/ci_fixes.patch
89
- git reset --quiet old
90
- git add -N .
88
+ (cd worktree-image && git commit -q -m "current changes" --allow-empty -a && git am; git reset --quiet old; git add -N .) < upstream/ci_fixes.patch
91
89
fi
92
90
93
91
- name : Incremental build
You can’t perform that action at this time.
0 commit comments