My need is to run drone build when create a new tag in Gitea.
I can see two options there in Drone documentation. Please find below:
When
when:
event: tag
branch: master
Trigger
trigger:
branch:
- master
ref:
include:
- refs/tags/**
Please explain the difference and suggest which option is good to take.