From 3e85bccac441d1b96a6db30e4b2d54099b71659a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1niel=20Buga?= Date: Mon, 26 Sep 2022 20:15:59 +0200 Subject: [PATCH] Skip workflow if draft --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2fbf2953..16029bff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ name: CI jobs: build: name: Rust (${{ matrix.toolchain }}) on ${{ matrix.os }} - if: github.event.push || github.event.pull_request.draft == false + if: github.event.pull_request.draft == false needs: [fmt, clippy] strategy: fail-fast: false