diff --git a/github_app_geo_project/module/standard/patch.py b/github_app_geo_project/module/standard/patch.py index 42b87d7511..7a1170dd1b 100644 --- a/github_app_geo_project/module/standard/patch.py +++ b/github_app_geo_project/module/standard/patch.py @@ -54,6 +54,8 @@ def get_actions(self, context: module.GetActionContext) -> list[module.Action[di if ( context.event_data.get("action") == "completed" and context.event_data.get("workflow_run", {}).get("conclusion") == "failure" + # Don't run on dynamic workflows like CodeQL + and context.event_data.get("workflow", {}).get("path", {}).startswith("dynamic/") ): return [module.Action(priority=module.PRIORITY_STANDARD, data={})] return []