Forum Discussion

tahaadel443's avatar
tahaadel443
Copper Contributor
Aug 13, 2024

Azure DevOps sometimes doesn't trigger build for GitHub PRs

Hello Community,

I have an Azure Pipelines plugin installed on my application's GitHub repo. We should have a CI build trigger for each PR and when those PR merged into specific branches. The issue is that sometimes the build is getting triggered for the PR commits, but when merging this PR to the branch, the build is not triggered, and I have to run it manually.

1 Reply

  • Would suggest to take a look at the following:

     

    - Double-check your YAML for correct trigger and pr blocks.
    - Reauthorize or recreate the GitHub service connection.
    - Confirm the pipeline is connected to the correct repo and branch.
    - Try removing and re-adding the pr: block to force re-registration.
    - Use the Azure DevOps UI to manually trigger builds if needed.

Resources