check_pipeline_status: add parameter for ref
Remove the trigger source parameter again because it did not serve the use case. Add ref parameter instead.
Remove the trigger source parameter again because it did not serve the use case. Add ref parameter instead.