If last rule has when: manual - result of pipeline blocked.

Okey so I need last stage (deploy) to run always on specific branches, rest - manually.

  rules:
    - if: '$CI_COMMIT_REF_NAME =~ /^hostmit-.*$/i'
      when: always
    - when: manual

This code does it work as expected, but on default case, result of pipeline is "Blocked". How do I avoid this?.

Assignee Loading
Time tracking Loading