rules:# Conditions under which this job should run
-if:$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "main"# Run this job only for merge request event into main.
-if:$CI_PIPELINE_SOURCE == "push" && $CI_MERGE_COMMIT_REF_NAME =~ /main/# Run this job only for merge request event into main.
when:always
image:curlimages/curl:latest# Custom image with curl