# Only run step if if changed files contains tests

**URL:** <https://discuss.bitrise.io/t/only-run-step-if-if-changed-files-contains-tests/24956>\
**Category:** Steps\
**Created:** [February 14, 2025, 8:22pm UTC](https://discuss.bitrise.io/t/only-run-step-if-if-changed-files-contains-tests/24956 "2025-02-14T20:22:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![steveaura](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/steveaura/32/5955_2.png) [@steveaura](https://discuss.bitrise.io/u/steveaura)\
**Post date:** [February 14, 2025, 8:22pm UTC](https://discuss.bitrise.io/t/only-run-step-if-if-changed-files-contains-tests/24956/1 "2025-02-14T20:22:08Z")

</div>

Hey everyone,

We run test coverage steps in our workflow that post the coverage as a comment back to the PR. That works well but becomes noisy if there are multiple pushes after the PR was opened.

Is it possible to make a step execute only when certain files have changed? The docs mention `changed_files` but I’m not sure if that can be used in the **Additional run conditions** field.

Alternatively, is it possible to only execute a step when the PR was opened, not on subsequent pushes?

Thanks!
