From da63b300c65d61ecacee9a8711d5421f517ae4ac Mon Sep 17 00:00:00 2001 From: Anson Biggs Date: Mon, 30 Jun 2025 15:48:03 -0600 Subject: [PATCH] Do not lint on scheduled jobs --- .gitlab-ci.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a1301e7..4ae6400 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,12 +29,8 @@ lint: - rustup component add clippy - cargo clippy --all-targets -- -D warnings rules: - - if: $SCHEDULED_BUILD_PIPELINE == 'true' - allow_failure: true - - if: $SCHEDULED_BUILD_PIPELINE != 'true' - allow_failure: false - - + - if: "$CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH" + test: image: rust:latest stage: test