def METHOD_NAME(self, pipeline: Dict[str, Any]) -> Dict[str, Any]:
    for stage in pipeline["stages"]:
        for action in stage["actions"]:
            if "runOrder" not in action:
                action["runOrder"] = 1
            if "configuration" not in action:
                action["configuration"] = {}
            if "outputArtifacts" not in action:
                action["outputArtifacts"] = []
            if "inputArtifacts" not in action:
                action["inputArtifacts"] = []
    return pipeline