From 223b69feb2fe6f3da7b7ada31c0d6158ae4384fc Mon Sep 17 00:00:00 2001 From: Holger Brunn Date: Sun, 11 Jan 2026 08:39:31 +0100 Subject: [PATCH] [IMP] ignore skipped check suites fixes #326 --- src/oca_github_bot/tasks/merge_bot.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/oca_github_bot/tasks/merge_bot.py b/src/oca_github_bot/tasks/merge_bot.py index 213f391f..f80096cb 100644 --- a/src/oca_github_bot/tasks/merge_bot.py +++ b/src/oca_github_bot/tasks/merge_bot.py @@ -371,6 +371,13 @@ def _get_commit_success(org, repo, pr, gh_commit): f"PR #{pr} of {org}/{repo}" ) success = True + elif check_suite.conclusion == "skipped": + # skipped + _logger.info( + f"Ignoring skipped check suite {check_suite.app.name} for " + f"PR #{pr} of {org}/{repo}" + ) + continue elif not check_suite.conclusion: # not complete check_runs = list(github.gh_call(check_suite.check_runs))