# Add Build Trigger to Only Check HEAD Commit of Pull Requests

**URL:** <https://discuss.bitrise.io/t/add-build-trigger-to-only-check-head-commit-of-pull-requests/24450>\
**Category:** Builds\
**Created:** [August 30, 2024, 11:21am UTC](https://discuss.bitrise.io/t/add-build-trigger-to-only-check-head-commit-of-pull-requests/24450 "2024-08-30T11:21:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gaziiav.iskhakov](https://avatars.discourse-cdn.com/v4/letter/g/a4c791/32.png) [@gaziiav.iskhakov](https://discuss.bitrise.io/u/gaziiav.iskhakov)\
**Post date:** [August 30, 2024, 11:21am UTC](https://discuss.bitrise.io/t/add-build-trigger-to-only-check-head-commit-of-pull-requests/24450/1 "2024-08-30T11:21:00Z")

</div>

Currently, **commit\_message** applies regex for all of the commits in a pull request history  
Please add an option for build triggers that only evaluates the HEAD commit of a pull request.

For example, this feature could be useful if we want to trigger a build only when the latest commit in the PR is made by a human and not by bots, which often add automated commits (e.g., dependency updates, linting fixes, build version updates and etc.)
