From 33e9231d2d6c8b2540b72113034666882817541f Mon Sep 17 00:00:00 2001 From: lowlighter <22963968+lowlighter@users.noreply.github.com> Date: Thu, 29 Apr 2021 09:36:45 +0200 Subject: [PATCH] Update workflow.yml --- .github/workflows/workflow.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index e84668d2..11fe2970 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -15,7 +15,6 @@ jobs: # Run linter to ensure new code respect coding rules lint: name: Lint code - if: false runs-on: ubuntu-latest steps: - name: Checkout repository @@ -72,7 +71,7 @@ jobs: format: name: Format code runs-on: ubuntu-latest - # needs: [ build, analyze ] + needs: [ build, analyze ] steps: - name: Checkout repository uses: actions/checkout@v2 @@ -85,9 +84,8 @@ jobs: - name: Format code run: npm run fmt - name: Publish formatted code - if: github.event_name == 'pull_request' && github.ref != 'refs/heads/master' + if: false #github.event_name == 'pull_request' && github.ref != 'refs/heads/master' run: | - git checkout ${{ github.ref }} git status # git add --update # git commit -m "Auto-format code"