Commit 73b787e8 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

chore: use workflow rules

parent 90725d27
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -13,6 +13,14 @@
# program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth 
# Floor, Boston, MA  02110-1301, USA.
# =========================================================================================
# default workflow rules
workflow:
  rules:
    # exclude merge requests
    - if: $CI_MERGE_REQUEST_ID
      when: never
    - when: always

variables:
  # variabilized tracking image
  TBC_TRACKING_IMAGE: "$CI_REGISTRY/to-be-continuous/tools/tracking:master"
@@ -307,9 +315,6 @@ robotframework-lint:
  script:
    - rflint --recursive $ROBOT_TESTS_DIR
  rules:
    # exclude merge requests
    - if: $CI_MERGE_REQUEST_ID
      when: never
    # exclude if $ROBOT_LINT_DISABLED is set
    - if: '$ROBOT_LINT_DISABLED == "true"'
      when: never
@@ -341,9 +346,6 @@ robotframework:
        - rf_reports/robot-junit.xml
    when: always
  rules:
    # exclude merge requests
    - if: $CI_MERGE_REQUEST_ID
      when: never
    # exclude tags
    - if: $CI_COMMIT_TAG
      when: never