Skip to content

Commit

Permalink
Update the if condition for the UI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kubawi authored and Marc Boudreau committed Mar 30, 2023
1 parent 0100d48 commit 3d5d88a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,12 +179,15 @@ jobs:
secrets: inherit
test-ui:
name: Test UI
# The test-ui Job is only run for pushes to main and pull requests, ui/*, backport/ui/*, release/*, and merge*
# The test-ui job is only run on:
# - pushes to main and branches starting with "release/"
# - PRs where the branch starts with "ui/", "backport/ui/", "merge", or when base branch starts with "release/"
if: |
github.ref_name == 'main' ||
startsWith(github.ref_name, 'release/') ||
startsWith(github.base_ref, 'release/') ||
startsWith(github.head_ref, 'ui/') ||
startsWith(github.head_ref, 'backport/ui/') ||
startsWith(github.head_ref, 'release/') ||
startsWith(github.head_ref, 'merge')
needs:
- setup
Expand Down

0 comments on commit 3d5d88a

Please sign in to comment.