Skip to content

Commit 10a1caf

Browse files
committed
force add README.md
1 parent 2f07263 commit 10a1caf

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,8 @@ runs:
300300
git checkout --orphan coverage
301301
git rm -rf --cached . >/dev/null 2>&1 || true
302302
echo '# Coverage branch' > README.md
303-
git add README.md
303+
# Force-add so bootstrap works even if README.md is ignored in source repo rules.
304+
git add -f README.md
304305
git -c commit.gpgsign=false commit -m 'Add README.md'
305306
# Push with auth via checkout action's token/remote config.
306307
# If another concurrent run creates 'coverage' first, treat that as success.

0 commit comments

Comments
 (0)