From 44636c4de3361751cb96929a68da0a929dd3fa15 Mon Sep 17 00:00:00 2001 From: Shish Date: Sat, 24 Oct 2020 23:00:10 +0100 Subject: [PATCH] only publish master pushes --- .github/workflows/test_and_publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_and_publish.yml b/.github/workflows/test_and_publish.yml index d7ddb129..7dde0738 100644 --- a/.github/workflows/test_and_publish.yml +++ b/.github/workflows/test_and_publish.yml @@ -91,7 +91,7 @@ jobs: name: Publish runs-on: ubuntu-latest needs: test - if: github.event_name == 'push' + if: github.event_name == 'push' && github.ref == 'refs/heads/master' steps: - uses: actions/checkout@master - name: Publish to Registry