diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 61d52c87..44673be4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,10 +51,16 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v2 + with: + fetch-depth: 0 - name: Setup NodeJS uses: actions/setup-node@v2 with: node-version: 17 + - name: Pull changes + run: | + git checkout master + git pull - name: Setup metrics run: npm ci - name: Publish rebuild metrics indexes diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6321a0f6..a4b47bd6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,8 +3,6 @@ name: Build, test and analyze on: pull_request: branches: [ master ] - push: - branches: [ master ] workflow_call: jobs: