Skip to content
Commit c06d8712 authored by Ryan Roberts's avatar Ryan Roberts
Browse files

ci: Don't run pipelines for detached heads



By default, merge request pipelines run with detached heads. This is
problematic for building the docs using ReadTheDocs because it requires
a branch name to map to a version in RTD. But with a detached head,
there is no branch.

So let's disable MR pipelines. When pushing changes to a branch that has
an MR, the branch pipeline will still run and the result shows up in the
MR.

Signed-off-by: Ryan Roberts's avatarRyan Roberts <ryan.roberts@arm.com>
parent 2abc59c0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment