How do you push to a gitlab repo using a gitlab-ci job?
问题 I am new to GitLab CI/CD jobs, but I'm trying to set up a Python script that when pushed to GitLab, triggers the CI/CD job to run it, and call an internal function that pushes to GitLab again provided that certain criteria are met. So, for example, suppose I have the following: def hasFileInDirectory(): # checks if the current directory has at least 1 other file in it if (1 or more files exist): print 'Great! You have enough files!'; else: print 'Oh no! You need more files! Let me create one!