Builds are not triggered upon creating a PR

Still need help?

The Atlassian Community is here for you.

Ask the community


Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.

Summary

The pull-requests property defines pipelines that only run when a pull request is created. The PR will show the commit made only on the source branch and not the commits on the destination branch.

For instance, the below PR has been raised with PR-trigger branch as the source and the new branch as destination, and hence the commits made on the new branch is not seen in the PR commit list where as the commit made on PR-trigger branch is listed in the PR.


When a build is created for a PR, the build will be visible on the side panel if it is generated from the source branch commit or from any open PR from the source branch.


Cause

Sometimes, even when the commit is made on the source branch and the commit is part of the PR, it might not create a build.


The possible reason being the head commit of the source branch having [skip ci] in the commit message which skips any build for the commit : 



Last modified on Jun 18, 2024

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.