Skip to content

Commit

Permalink
Possibly fix trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
THISISDINOSAUR committed Nov 4, 2024
1 parent 286ded1 commit ca6a144
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/pir_end_to_end_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit ca6a144

Please sign in to comment.