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

Description
The
ifcondition to run the publish job still runs if you manually trigger a workflow on a branch other thanmainormaster.Screenshots