diff --git a/.github/workflows/pir_end_to_end_tests.yml b/.github/workflows/pir_end_to_end_tests.yml index e7a6ac8462..34bc5fb75a 100644 --- a/.github/workflows/pir_end_to_end_tests.yml +++ b/.github/workflows/pir_end_to_end_tests.yml @@ -6,14 +6,7 @@ on: - cron: '0 3 * * 1-5' # 3AM UTC offsetted to legacy to avoid action-junit-report@v4 bug push: branches: [ "loremattei/**" ] - if: | - startsWith(github.base_ref, 'release/') || - startsWith(github.base_ref, 'hotfix/') || - 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/') || - contains(toJson(github.event.pull_request.files.*.filename), 'DuckDuckGoDBPBackgroundAgent/') || - contains(toJson(github.event.pull_request.files.*.filename), 'DuckDuckGo.xcodeproj/project.pbxproj') + pull_request: jobs: pir-e2e-tests: @@ -27,6 +20,15 @@ jobs: - xcode-version: "15.4" runner: macos-14-xlarge + if: | + startsWith(github.base_ref, 'release/') || + startsWith(github.base_ref, 'hotfix/') || + 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/') || + contains(toJson(github.event.pull_request.files.*.filename), 'DuckDuckGoDBPBackgroundAgent/') || + contains(toJson(github.event.pull_request.files.*.filename), 'DuckDuckGo.xcodeproj/project.pbxproj') + concurrency: group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.runner }} cancel-in-progress: true