From b1f851cdc96404b0627b5fb08f6f518bb1e53355 Mon Sep 17 00:00:00 2001 From: Robert Kwolek Date: Mon, 9 Sep 2024 18:33:02 +0200 Subject: [PATCH] feat: if reverted --- .github/workflows/on-push.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/on-push.yaml b/.github/workflows/on-push.yaml index 2b2fb94..d0c5f29 100644 --- a/.github/workflows/on-push.yaml +++ b/.github/workflows/on-push.yaml @@ -120,8 +120,7 @@ jobs: command: clippy release: - # if: base_ref == 'main' - if: false + if: github.ref == 'refs/heads/main' needs: [cargo-deny, check, fmt, test, clippy, audit] runs-on: ubuntu-24.04 environment: "release"