Conditional jobs/steps in workflows?

I have not found it mentioned in the documentation, but I wonder if conditionals are supported in job or job-step definitions in Gitea workflows? I tried, both on job and step level, to use

if: gitea.repository == ""

to have a job skipped on Gitea but run on GitHub, but Gitea or perhaps act_runner seem to object to this syntax. Am I doing it wrong?

I believe, you have to enclose your condition in ${{ }}. This certainly works for me when i check for certain inputs

Thanks, that’s interesting. There is a FAQ entry which convinced me not to use the ${{ }} syntax. I guess I will give it a try anyway.