How to trigger an action on push or create tag but not on both?

I would like to be my workflow triggered by either a push or a tag create – if I push commits with new tag only trigger one rather than two workflows.

Something like:

on: [push | tags]

:wave: Hey @BelKed,

Could you describe your workflow a bit more? Setting up some filters on tags or branches might help.

Additionally, you could use concurrency to ensure only one workflow runs

https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency