Skip to content

.gitlab-ci.yml: Use environment to clean up branch

John Cai requested to merge jc/rails-job-env into master

Use an environment to clean up the branch that gets created to start a rails pipeline. This way, instead of running rails-spec-cleanup right after rails-spec runs, we do so after the merge request is merged or closed. This way, we don't run into a situation where a flaky test fails but the branch gets deleted via rails-spec-cleanup.

Edited by John Cai

Merge request reports