Does `branches` include `master` in `.gitlab-ci.yml`?
Does branches
include master
in .gitlab-ci.yml
? At first I assumed it didn't, since I don't think of master
as a branch, but now that I understand this really means branches
vs tags
, I'm guessing master
does count. Either way, this should be documented well. Might also be worth documenting that tags are tied to commits, not branches (or refs in general), so branches
and tags
are mutually exclusive. For a long time, I thought I needed to do:
only:
- master
except:
- tags
but that's redundant.
Add detail to to branches and tags info in table and in example(s) below it.
Edited by Mike Lewis