Commit 83f52e59 authored by Davide Ricci's avatar Davide Ricci
Browse files

Update .gitlab-ci.yml file

parent 91aa7c64
Loading
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -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: