From 37db30eabffe69348c7db703f04e426f2bec8100 Mon Sep 17 00:00:00 2001 From: lowlighter <22963968+lowlighter@users.noreply.github.com> Date: Sat, 15 Jan 2022 21:25:19 -0500 Subject: [PATCH] ci: update workflows --- .github/workflows/ci.yml | 6 ++++++ .github/workflows/test.yml | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) 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: