From 4c5474a0c1d1ca87a07e4e3a6f764d60435076cc Mon Sep 17 00:00:00 2001 From: Severiano Badajoz Date: Wed, 1 Apr 2020 15:45:42 -0700 Subject: [PATCH] remove incorrect branches syntax, use github_ref --- .github/workflows/push_tests.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/push_tests.yml b/.github/workflows/push_tests.yml index bdc27fda..80c3e0f3 100644 --- a/.github/workflows/push_tests.yml +++ b/.github/workflows/push_tests.yml @@ -26,16 +26,9 @@ jobs: run: | pip install flake8 make lint - - name: Lint diff with eslint - branches-ignore: - - master - run: | - cd client && make lint-diff-client - name: Lint with eslint - branches: - - master run: | - make lint-client + if(${GITHUB_REF} == "refs/heads/master") then make lint-client; else make lint-diff-client; fi unit-test: