# if MR id cannot be computed (and user allowed processing after an error), skip this pipeline
ifmerge_request_iidisNone:
print(
f'Pipeline {AnsiColors.BLUE}{pipeline.id}{AnsiColors.RESET} was triggered by a merge request event but \'{AnsiColors.BLUE}{pipeline.ref}{AnsiColors.RESET}\' is not a merge request reference. '
f'Consider deleting this pipeline manually : {self.pipeline_url(project,pipeline)}')
returnNone
# check if MR is already in the cache and get it from API if needed