From de57c122e8048f92bb379852592e40ba0eef1a72 Mon Sep 17 00:00:00 2001 From: Erick Guan Date: Sat, 21 Sep 2024 18:35:54 +0200 Subject: [PATCH] Only allow running on the default branch --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 235eab2..cfebc1f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,6 +9,7 @@ permissions: jobs: release: + if: github.ref == 'refs/heads/master' runs-on: ubuntu-latest steps: