Skip to content

Commit

Permalink
fix: workflow front
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamadch91 committed Nov 11, 2024
1 parent 67d8bba commit fb76ff6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit fb76ff6

Please sign in to comment.