From 89c1b8a6fb802d827d3dad161c6c89a93631c223 Mon Sep 17 00:00:00 2001 From: Michael Bull Date: Sat, 30 Jan 2021 17:08:00 +0000 Subject: [PATCH] Configure publish job to only run on push events --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c77da0b..b905139 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -31,7 +31,7 @@ jobs: publish: needs: check - if: github.ref == 'master' && github.event_name != 'pull_request' && needs.check.result == 'success' + if: github.ref == 'refs/heads/master' && github.event_name == 'push' && needs.check.result == 'success' runs-on: ubuntu-latest steps: