Our workflow is the following:
- create an issue
- open a merge request from the issue with the
Create merge requestbutton
- push commits to the new branch
- merge the merge request
I wonder if there is a way to skip the pipeline on the branch creation if the commit referenced by the new branch name already had a pipeline run.
- What are you seeing, and how does that differ from what you expect to see?
A pipeline is started when the new branch is created.
As it start from a commit which already had a pipeline run, I thought no new pipeline would run until I push new commits.
Consider including screenshots, error messages, and/or other helpful visuals
What version are you on? Are you using self-managed or GitLab.com?
Add the CI configuration from
.gitlab-ci.ymland other configuration if relevant (e.g. docker-compose.yml)
stages: - test test-collapsable-section: stage: test script: - echo -e "\e[0Ksection_start:`date +%s`:my_first_sectionHeader of the 1st collapsible section" - echo 'this line should be hidden when collapsed' - echo -e "\e[0Ksection_end:`date +%s`:my_first_section\r\e[0K"
- What troubleshooting steps have you already taken? Can you link to any docs or other resources so we know where you have been?