From d26d4c0fa4893f7d4feb3039b648725c298bb7c7 Mon Sep 17 00:00:00 2001 From: claire labry Date: Tue, 28 Mar 2023 15:59:27 -0500 Subject: [PATCH] fix github ref (#19805) * fix github ref * udpate comment --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7f18740707..a78a9f2e98 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -165,8 +165,8 @@ jobs: secrets: inherit test-ui: name: Test UI - # The test-ui Job is only run for pushes to main, ui/*, backport/ui/*, release/*, and merge* - if: github.ref_name == 'main' || startsWith(github.ref_name, 'ui/') || startsWith(github.ref_name, 'backport/ui/') || startsWith(github.ref_name, 'release/') || startsWith(github.ref_name, 'merge') + # The test-ui Job is only run for pushes to main and pull requests, ui/*, backport/ui/*, release/*, and merge* + if: github.ref_name == 'main' || startsWith(github.ref_name, 'ui/') || startsWith(github.ref_name, 'backport/ui/') || startsWith(github.ref_name, 'release/') || startsWith(github.ref_name, 'merge') || github.head_ref == 'main' || startsWith(github.head_ref, 'ui/') || startsWith(github.head_ref, 'backport/ui/') || startsWith(github.head_ref, 'release/') || startsWith(github.head_ref, 'merge') needs: - setup permissions: