Skip to content

Commit

Permalink
Add if statement to run action on DBP related files changing
Browse files Browse the repository at this point in the history
  • Loading branch information
THISISDINOSAUR committed Nov 4, 2024
1 parent 37c1d63 commit 55f89b2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/pir_end_to_end_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ on:
- cron: '0 3 * * 1-5' # 3AM UTC offsetted to legacy to avoid action-junit-report@v4 bug
push:
branches: [ "loremattei/**" ]
pull_request:
#branches:
# - hotfix/*
# - release/*
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), 'DuckDuckGo.xcodeproj/project.pbxproj') ||
jobs:
pir-e2e-tests:
Expand Down

0 comments on commit 55f89b2

Please sign in to comment.