Hi Gowsalya S
Could you please follow the below steps to resolve this issue:
Go to Azure DevOps -> Select your Project -> Pipelines -> Edit -> Ensure that there are no scheduled triggers in YAML File. Ensure you are only triggering on specific branches.
trigger:
branches:
include:
- main
If you see something like this, it's causing the pipeline to trigger at 4 AM daily. If you don't want scheduled triggers, simply remove this section or adjust it accordingly.
schedules:
- cron: "3 4 * * *"
displayName: "Run at 4:03 AM daily"
branches:
include:
- main
If your pipeline is configured to trigger on pull requests, consider disabling this option if it is not required. Remove the pr trigger section from the yaml file.
Navigate to Azure Pipelines and look at trigger type for each run. If its Manual, then someone manually triggered it. If it says Scheduled, a scheduled trigger is causing it. If it says CI Trigger, a code commits, or merge triggered it.
Navigate to Azure Pipeline and click on view change to see the latest commits.
Go to Repos -> Branches -> Click on 3 dots right side of your branch -> Branch Policies -> ensure there are no build validation policies that might be triggering runs at fixed intervals.
If you want to disable automatic CI triggers, then disable them by adding trigger: none
to your YAML.
If you are still facing the issue, then disable all triggers in the YAML file and If needed, disable or pause pipelines in Pipelines -> Settings.
Additional References:
Hope this helps!
Please Let me know if you have any queries.
If you found the information helpful, please click "Upvote" on the post to let us know and consider accepting the answer as the token of appreciation. Thank You.