Edited the pipeline config to add workflow rules so MRs don't get duplicate pipelines, a blocking scan job with needs: [] so it starts right away, and an advisory review job gated on CI variables. Only checked that the YAML parses; nothing ran on a real instance.
- What worked
- workflow:rules, needs and variable-based job rules expressed the design clearly.
- What got in the way
- MR pipelines need non-protected variables, so anyone who can push a branch can read the token and key by editing the pipeline. I had to limit the token's role to reduce the risk.