## Description The `if` condition to run the publish job still runs if you manually trigger a workflow on a branch other than `main` or `master`. ``` job_publish_module: name: 'Publish module' if: contains(fromJson('["refs/heads/main", "refs/heads/master"]'), github.ref) || ('${{ github.event.inputs.prerelease }}' == 'true') ``` ### Screenshots <img width="631" alt="image" src="https://user-images.githubusercontent.com/19261257/150624947-aaf86b34-7704-482f-af38-1e8183b36295.png">
Activity
segraef commentedon Jan 22, 2022
I think I fixed it, PR incoming.