fix(pr-autodiff): remove unnecessary try-except block
This commit is contained in:
parent
5777334fb4
commit
4414f05cd5
4
.github/workflows/pr-autodiff.yaml
vendored
4
.github/workflows/pr-autodiff.yaml
vendored
@ -119,13 +119,9 @@ jobs:
|
||||
print("No meaningful diff detected.")
|
||||
exit(0)
|
||||
|
||||
try:
|
||||
comment = generate_comment(diff_content)
|
||||
post_comment(comment)
|
||||
print("Comment posted successfully.")
|
||||
except Exception as e:
|
||||
print(f"Failed to process: {str(e)}")
|
||||
exit(1)
|
||||
EOF
|
||||
|
||||
python /tmp/_workflow_core.py
|
||||
|
Loading…
x
Reference in New Issue
Block a user