I misinterpreted the on conditions to be connected logically by an and. I wanted that the workflow is only triggered when a tag is pushed to main. Instead the conditions or connected logically by an or, so every push to main will result in a the CI being triggered. We remove the condition to be the main branch since this is not really required.
I misinterpreted the
on
conditions to be connected logically by anand
. I wanted that the workflow is only triggered when a tag is pushed to main. Instead the conditions or connected logically by anor
, so every push to main will result in a the CI being triggered. We remove the condition to be the main branch since this is not really required.