Skip to content

Commit e55eb5f

Browse files
Add identical forks only if there are any
1 parent 8188578 commit e55eb5f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,16 @@ jobs:
6262
6363
# Stage the Git index change of the auto-generated files
6464
# Note that followers.json+repositories.json+todos.json are artifacts
65-
git add readme.md prs.md issues.md identical-forks.md
65+
git add readme.md prs.md issues.md
6666
git add by-name-asc.md by-name-desc.md
6767
git add by-pushed_at-asc.md by-pushed_at-desc.md
6868
git add by-size-asc.md by-size-desc.md
6969
git add by-updated_at-asc.md by-updated_at-desc.md
7070
71+
if [ -e identical-forks.md ]; then
72+
git add identical-forks.md
73+
fi
74+
7175
# Bail if there are no changes to commit and hence no GitHub Pages to build
7276
if git diff-index --quiet HEAD --; then
7377
exit

0 commit comments

Comments
 (0)