"Build skipped" because of "only:" in .gitlab-ci.yml should show reason for skipping
I just spent some time trying to figure out why all of my commits to a forked repo don't trigger a build but just give the dreaded "Build skipped" message.
Finally I realized that it's because I had this in .gitlab-ci.yml
:
only:
- tags
I didn't notice that because as I have written above - it was code from a forked repo, I haven't written it.
So I think that the reason for skipping should be provided in the message shown in the UI.