Check API level or gitlab version?

GitLab keeps introducing new features, some of which come in quite handy.

Should CLA Bot rely on those?

What would a version limit look like?

Should different options be implemented depending on the version?

For example:

  • GitLab 18.6 will allow component contexts which will help quite a lot.
  • 18.5 (at least, perhaps earlier) allows for CI_JOB_TOKEN to be used to push to a repository. If 'playground' = 'home', fewer tokens would be required overall.