CI: branch named "tags" conflicts with magic "tags" keyword in "only:" entry
These docs tell me I can do:
only:
- tags
Which means "run this job only when there is a git tag". I use such a pattern for my releases.
However I also seems you can use branch names:
only:
- main
- tags
which I want to mean "only git tags of the main branch".
But what if the branch name is tags? In fact, I've just submitted a branch named tags... which then undesirably ran my release jobs.
Suggested tags: "section:ci"
Downstream reference: plom/plom#2805 (closed)