Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix auto linting issue #132

Merged
merged 1 commit into from
Aug 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/update_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ def update_summary(origin: str, new_feature: str, feature_type: str):
out_summary = ""
with open(origin, 'r') as f:
for line in f.readlines():
if feature_type == "module" and line.startswith("## Subworkflows"):
out_summary += new_feature + '\n\n'
if line.strip():
out_summary += line
if feature_type == "module" and line.startswith("## Subworkflows"):
out_summary += new_feature + '\n\n'
if line.strip():
out_summary += line
if feature_type == "subworkflow":
out_summary += new_feature
return out_summary
Expand Down
Loading