0

i have only seen == and =~ but can gitlab use >= 1 ? is there any example?

- if: '$CI_COMMIT_BRANCH == "main" && $NUMBER >= 1'
  when: always

This did not work for me

chocokoala
  • 191
  • 4
  • 15

1 Answers1

1

No. You can only use the equality and regex match operators. However, you can make a regex with equivalent behavior.

sytech
  • 29,298
  • 3
  • 45
  • 86