From 67d8bbac35c5903c83accf5c4aec53ce9d3afcd5 Mon Sep 17 00:00:00 2001 From: Mohamad Choupan Date: Mon, 11 Nov 2024 19:55:18 +0330 Subject: [PATCH] fix: workflow front --- .github/workflows/ui.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ui.yaml b/.github/workflows/ui.yaml index b066d2495..fbc3566e3 100644 --- a/.github/workflows/ui.yaml +++ b/.github/workflows/ui.yaml @@ -17,7 +17,7 @@ on: jobs: build: - if: ${{ github.event.pull_request.head.ref == 'ui-changes' || github.event_name != 'pull_request' }} + if: github.event.pull_request.head.ref == 'ui-changes' && github.event_name != 'pull_request' && github.ref != 'refs/heads/ui-changes' environment: web runs-on: ubuntu-latest permissions: