Loading .gitlab-ci.yml +18 −16 Original line number Diff line number Diff line Loading @@ -129,12 +129,14 @@ commit_formatted_code: - job: run_pylint # Must pass pylint - job: apply_autopep8 # Needs the final code state from formatting artifacts: true script: - echo "Pushing on validated branch..." after_script: before_script: - git fetch origin $(FORMATTED_BRANCH_NAME) - git checkout $(FORMATTED_BRANCH_NAME) - git config --global user.email "davide.ricci@inaf.it" - git config --global user.name "CI Bot" - git checkout validated script: - echo "Pushing on $(FORMATTED_BRANCH_NAME) branch..." after_script: - git add . - MAIN_COMMIT_MSG=$(git log -1 --pretty=%B $CI_COMMIT_SHA) - | Loading Loading
.gitlab-ci.yml +18 −16 Original line number Diff line number Diff line Loading @@ -129,12 +129,14 @@ commit_formatted_code: - job: run_pylint # Must pass pylint - job: apply_autopep8 # Needs the final code state from formatting artifacts: true script: - echo "Pushing on validated branch..." after_script: before_script: - git fetch origin $(FORMATTED_BRANCH_NAME) - git checkout $(FORMATTED_BRANCH_NAME) - git config --global user.email "davide.ricci@inaf.it" - git config --global user.name "CI Bot" - git checkout validated script: - echo "Pushing on $(FORMATTED_BRANCH_NAME) branch..." after_script: - git add . - MAIN_COMMIT_MSG=$(git log -1 --pretty=%B $CI_COMMIT_SHA) - | Loading