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

enforcing branch names for labs

parent 94da46d5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ prebuild_lab_0:
prebuild_lab_0_SKIP:
  stage: lab0
  script:
    - echo "Skipping Lab 0 checks because the branch name is not lab0"
    - echo "SKIPPING Lab 0 checks because the branch name is not 'lab0'"
  rules:
    - if: '$CI_COMMIT_REF_NAME != "lab0"'
  tags: [c++-17]
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ prebuild_lab_1:
prebuild_lab_1_SKIP:
  stage: lab1
  script:
    - echo "Skipping Lab 0 checks because the branch name is not lab1"
    - echo "SKIPPING Lab 1 checks because the branch name is not 'lab1'"
  rules:
    - if: '$CI_COMMIT_REF_NAME != "lab1"'
  tags: [c++-17]
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ prebuild_lab_m1:
prebuild_lab_m1_SKIP:
  stage: labm1
  script:
    - echo "Skipping Lab -1 checks because the branch name is not lab-1"
    - echo "SKIPPING Lab -1 checks because the branch name is not 'lab-1'"
  rules:
    - if: '$CI_COMMIT_REF_NAME != "lab-1"'
  tags: [c++-17]