Condition with more than 128 characters fails the job

Hi there !

I just discovered that a any job-level condition with more than 128 char just crashes the job. Any idea how I can workaround this ?

I have this big if :

if: contains(github.event.pull_request.labels.*.name, 'deploying') || contains(github.event.pull_request.labels.*.name, 'deployed')"

And I can’t simply reduce it because I can’t :

  • put github.event.pull_request.labels.*.name in an env var as env is not available here

Ah… Nevermind, it just seems that if this ìf` if false, the entire workflows fails because no job is to be executed.