Skip to content

Commit

Permalink
fix(gh-actions): && not ||
Browse files Browse the repository at this point in the history
  • Loading branch information
dezren39 authored Sep 20, 2020
1 parent e0af17a commit 69a9b7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr.check.base-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ jobs:
env:
MATRIX_CONTEXT: ${{ toJson(matrix) }}
run: echo "$MATRIX_CONTEXT"
- if: github.ref != 'refs/heads/dev' && github.ref != 'refs/heads/next' && github.ref != 'refs/heads/main' && github.head_ref != 'dev' && github.head.ref != 'dev' && github.head_ref != 'next' && github.head.ref != 'next' && github.head_ref != 'main' && github.head.ref != 'main' || github.event.pull_request.head.ref == 'dev' || github.event.pull_request.head.ref == 'next' || github.event.pull_request.head.ref == 'main'
- if: github.ref != 'refs/heads/dev' && github.ref != 'refs/heads/next' && github.ref != 'refs/heads/main' && github.head_ref != 'dev' && github.head.ref != 'dev' && github.head_ref != 'next' && github.head.ref != 'next' && github.head_ref != 'main' && github.head.ref != 'main' && github.event.pull_request.head.ref == 'dev' && github.event.pull_request.head.ref == 'next' && github.event.pull_request.head.ref == 'main'
name: Check base-branch(feature) - main,next=>dev (FORCE)
uses: dezren39/check-base-branch-action@v2
with:
Expand Down

0 comments on commit 69a9b7d

Please sign in to comment.