diff --git a/.github/workflows/pir_end_to_end_tests.yml b/.github/workflows/pir_end_to_end_tests.yml index a7512eb6c5..8fbec775d4 100644 --- a/.github/workflows/pir_end_to_end_tests.yml +++ b/.github/workflows/pir_end_to_end_tests.yml @@ -21,7 +21,7 @@ jobs: if: | startsWith(github.base_ref, 'release/') || startsWith(github.base_ref, 'hotfix/') || - startsWith(github.ref, 'loremattei/') || + startsWith(github.ref_name, 'loremattei/') || contains(toJson(github.event.pull_request.files.*.filename), 'DBPE2ETests/') || contains(toJson(github.event.pull_request.files.*.filename), 'LocalPackages/DataBrokerProtection/') || contains(toJson(github.event.pull_request.files.*.filename), 'LocalPackages/DataBrokerProtection/') ||