From fb76ff6c85be8430e21a38792249014d41f8c74e Mon Sep 17 00:00:00 2001 From: Mohamad Choupan Date: Mon, 11 Nov 2024 20:01:57 +0330 Subject: [PATCH] fix: workflow front --- .github/workflows/go.yaml | 2 +- .github/workflows/ui.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index 8cfe82f2b..8f5bcd526 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -36,7 +36,7 @@ jobs: environment: golang outputs: latest_tag: ${{ steps.set_latest_tag.outputs.latest_tag }} - if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev') && github.event.pull_request.head.ref != 'ui-changes' + if: github.event.pull_request.head.ref != 'ui-changes'&& github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev') steps: - name: Checkout code uses: actions/checkout@v3 diff --git a/.github/workflows/ui.yaml b/.github/workflows/ui.yaml index fbc3566e3..43cb5c51c 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' && github.ref != 'refs/heads/ui-changes' + if: github.event.pull_request.head.ref == 'ui-changes' environment: web runs-on: ubuntu-latest permissions: