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

Disable Check Run #393

Merged
merged 1 commit into from
Dec 11, 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
3 changes: 2 additions & 1 deletion services/check_run_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@


def handle_check_run(payload: CheckRunCompletedPayload) -> None:
return
# Extract workflow run id
check_run: CheckRun = payload["check_run"]
details_url: str = check_run["details_url"]
Expand Down Expand Up @@ -128,7 +129,7 @@ def handle_check_run(payload: CheckRunCompletedPayload) -> None:
# Create a first comment to inform the user that GitAuto is trying to fix the Check Run error
msg = "Oops! Check run stumbled. Digging into logs... 🕵️"
comment_body = create_progress_bar(p=0, msg=msg)
comment_url: str | None = create_comment(body=comment_body, base_args=base_args)
comment_url = create_comment(body=comment_body, base_args=base_args)
base_args["comment_url"] = comment_url

# Get title, body, and code changes in the PR
Expand Down
Loading