Pipeline only works manually

The pipeline is not triggered automatically on the push/pull events but is only triggered manually . I have tried all the combinations of the pipeline trigger add rules and the step trigger add rules .