From a68da79ef486436a63f71291228519cab475f802 Mon Sep 17 00:00:00 2001 From: Simon Lecoq <22963968+lowlighter@users.noreply.github.com> Date: Fri, 30 Apr 2021 22:11:04 +0200 Subject: [PATCH] Update workflow.yml --- .github/workflows/workflow.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index e0dcad72..6386d09c 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -72,7 +72,7 @@ jobs: name: Format code runs-on: ubuntu-latest needs: [ build, analyze ] - if: github.event_name == 'push' && github.head_ref == 'refs/heads/master' + if: github.event_name == 'push' && github.ref == 'refs/heads/master' steps: - name: Checkout repository uses: actions/checkout@v2 @@ -100,7 +100,7 @@ jobs: name: Publish rebuilt metrics indexes runs-on: ubuntu-latest needs: [ build, analyze, format ] - if: github.event_name == 'push' && github.head_ref == 'refs/heads/master' + if: github.event_name == 'push' && github.ref == 'refs/heads/master' steps: - name: Checkout repository uses: actions/checkout@v2