From 29f824dcd733abc1217c60488848fc893ae8d9e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=A4=E6=84=8F=E5=B7=A5=E5=9D=8A?= <78455197+worksoup@users.noreply.github.com> Date: Fri, 29 Nov 2024 15:45:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9B=E5=B7=A5=E4=BD=9C=E6=B5=81?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/rust.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 79a4eaa..830423e 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -49,7 +49,7 @@ jobs: with: command: clippy build: - if: true + if: ${{ github.ref == 'refs/heads/main' }} needs: [ check ] strategy: fail-fast: false