From c9193ab6dcb5849d2469664e119326f71f99c579 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Thu, 7 Apr 2022 21:12:37 +0200 Subject: [PATCH] Only run package workflow on master. --- .github/workflows/package.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 9236447..50a2920 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -2,6 +2,8 @@ name: Package on: push: + branches: + - master defaults: run: shell: bash @@ -11,7 +13,7 @@ env: DOTNET_NOLOGO: true jobs: package: - if: github.repository == 'vezel-dev/zig-sdk' && github.ref == 'refs/heads/master' + if: github.repository == 'vezel-dev/zig-sdk' runs-on: ubuntu-latest steps: - name: Clone repository