diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 0196538..acdc3fd 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -11,7 +11,7 @@ jobs: with: fetch-depth: 2 - - run: git pull --rebase + - run: git pull --rebase origin master - name: Install node_modules run: yarn diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index c3bdbd7..7c8c586 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -1,5 +1,8 @@ name: Ensure code is formatted -on: [push, pull_request] +on: + push: + branches: + - 'master' concurrency: ci-${{ github.ref }} @@ -11,7 +14,8 @@ jobs: with: fetch-depth: 2 - - run: git pull --rebase + - name: Pull latetst changes + - run: git pull --rebase origin master - name: Install node_modules run: yarn