CI Jobs only when specific trigger happened

Currently gitlab ci supports jobs happening when it was triggered by using:

    only:
       - triggers

However it would also be great if there would be a way to have a trigger ID and allowing specific jobs to only run when it happend through a specific trigger.

There is also a different issue which would make that happen via a variable: https://gitlab.com/gitlab-org/gitlab-ce/issues/19826 but I guess that is too much overkill for just that.

Edited Jul 22, 2020 by Jason Yavorsky
Assignee Loading
Time tracking Loading