Skip to content

Commit 0a802bd

Browse files
committed
fix(repo-diagram): change exit code to 0 for skipping diagram update when no recent commits
1 parent 2328246 commit 0a802bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .github/workflows/repo-diagram.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
# 若无其他提交则终止工作流
3535
if [ "$RECENT_COMMITS" -eq 0 ]; then
3636
echo "No developer commits in past 7 days. Skipping diagram update."
37-
exit 1
37+
exit 0
3838
fi
3939
4040
- name: Update repository structure diagram

0 commit comments

Comments
 (0)