Allowing conditions in 'include' tag

Summary

There are some gitlab-shipped templates I am using in my project. I want the include to respect rules/only/except as I need the job to run under certain conditions.

Steps to reproduce

Here is my .gitlab-ci.yml

include:
  - template: Jobs/Build.gitlab-ci.yml
    except:
    - triggers
  - template: Jobs/Deploy.gitlab-ci.yml
  - template: Security/DAST.gitlab-ci.yml
    except:
    - triggers
  - template: Security/Container-Scanning.gitlab-ci.yml
    except:
    - triggers
  - template: Security/SAST.gitlab-ci.yml
    except:
    - triggers

What is the current bug behavior?

The excluded template are still running even if it is an pipeline triggered through TOKEN.

What is the expected correct behavior?

The template should accept the rules. For now it is still being ran even if it is an pipeline triggered through TOKEN.

Assignee Loading
Time tracking Loading