Loading .gitlab-ci.yml +5 −5 Original line number Diff line number Diff line Loading @@ -143,11 +143,11 @@ run_pylint: # .pylintrc should be at the project root, available from the artifact - pylint --rcfile=.pylintrc "${PYLINT_TARGETS}" - echo "Pylint check complete." rules: - if: $CI_PIPELINE_SOURCE == "merge_request_event" - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - when: manual allow_failure: true # Allow manual trigger to not fail overall pipeline if desired #rules: # - if: $CI_PIPELINE_SOURCE == "merge_request_event" # - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH # - when: manual # allow_failure: true # Allow manual trigger to not fail overall pipeline if desired # --- Optional: Auto Commit Job (Add if you want CI to commit changes) --- # commit_formatted_code: Loading Loading
.gitlab-ci.yml +5 −5 Original line number Diff line number Diff line Loading @@ -143,11 +143,11 @@ run_pylint: # .pylintrc should be at the project root, available from the artifact - pylint --rcfile=.pylintrc "${PYLINT_TARGETS}" - echo "Pylint check complete." rules: - if: $CI_PIPELINE_SOURCE == "merge_request_event" - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - when: manual allow_failure: true # Allow manual trigger to not fail overall pipeline if desired #rules: # - if: $CI_PIPELINE_SOURCE == "merge_request_event" # - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH # - when: manual # allow_failure: true # Allow manual trigger to not fail overall pipeline if desired # --- Optional: Auto Commit Job (Add if you want CI to commit changes) --- # commit_formatted_code: Loading