Custom Github actions

I have a custom Github action(workflow) . How can someone else use my workflow like " set as a workflow" in their repository given the fact that they don’t belong to my organization

Are you asking whether it’s possible to create a public workflow template repository that can be used by everyone and not just your organization?

I’m not sure if that’s possible, but you could simply create a public repo where others can copy the workflows from. It wouldn’t be as convenient as with workflow templates, but if it’s just about sharing the code then it should be okay.