From 08a1accb994b34addc45dff21cda8315b8185d8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9cate=20Moonlight?= Date: Thu, 12 Sep 2024 23:37:54 +0200 Subject: [PATCH] Only trigger the pre-release generation when in 'main' --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 328047b..97b0bff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -215,6 +215,7 @@ jobs: prerelease-head: name: Create a GitHub prerelease with the binary artifacts runs-on: ubuntu-latest + if: github.ref == 'refs/heads/main' needs: ["build", "build-alpine"] permissions: contents: write