Allow variables in only/except refs

Proposal

Where variables can be used nicely documents where variables are currently allowed. It would be nice to be able to use variables in only:refs:[] and except:refs:[], for example to refer to the default branch by reference rather than hardcoding it:

only:
  refs:
    - $CI_DEFAULT_BRANCH
Edited by 🤖 GitLab Bot 🤖