You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
looking at the code, it should do something when pushing tags:
# We only care about regular heads or tags
match = re.match(r"^refs/(heads|tags)/(.+)$", refname)
Not sure how it is supposed to be used but pushing a tag without any further commit, does not fill anything to changes since Gitea leaves commits empty and therefor the event will be skipped by the scheduler.
This can easily be reproduced with the following steps:
Create a new repo with a single branch
Add a commit or two
Push those commits
Create a tag and push it
The text was updated successfully, but these errors were encountered:
I am currently very busy right now, but the only thing that comes to mind in this case is that gitea might be sending a different request when pushing tags that are not handled correctly at the moment.
Thanks for the response. For now i've managed around the issue, using the create event in a custom hook. The structure of the response from Gitea is differently when creating tags compared to a push. This leads to a number of issues, i've curved by only using the info i actually need.
Hello,
looking at the code, it should do something when pushing tags:
Not sure how it is supposed to be used but pushing a tag without any further commit, does not fill anything to changes since Gitea leaves commits empty and therefor the event will be skipped by the scheduler.
This can easily be reproduced with the following steps:
The text was updated successfully, but these errors were encountered: