Commit e95eb971 authored by Ari Trachtenberg's avatar Ari Trachtenberg
Browse files

enforcing branch names for labs

parent f55cac1e
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2,8 +2,7 @@
prebuild_lab_0:
  stage: lab0
  script:
    - echo "Changes Detected (if any):";
    - git diff --name-only $CI_COMMIT_SHA~ $CI_COMMIT_SHA || echo "No changes found";
    - echo "$CI_COMMIT_REF_NAME"
    - |
      # Check if lab0.cpp exists
      if [ ! -f "lab0.cpp" ]; then