Fix : GitLab CI rules to fetch or clone
In GitLab CI/CD, you can define rules to determine when a job should run. If you want to fetch or clone a Git repository during your CI/CD pipeline, you typically do so in a "before_script" section that is shared by multiple jobs. However, you can use rules to control when these steps should be executed. Here's an example of how you might define such rules: ```yaml stages: - build variables: GIT_STRATEGY: clone # This ensures GitLab will always clone the repository before_script: - echo "This is a shared script to be run before every job." job1: stage: build script: - echo "Job 1" rules: - changes: # Run this job if there are changes in specified paths - path/to/code/* job2: stage: build script: - echo "Job 2" rules: - changes: # Run this job if there are changes in specified paths - another/path/* job3: stage: build script: - echo "Job 3" rules: - changes: [] # Run th