forgejo/services
Earl Warren a53194f4b1
fix(api): error 500 on tag creation when a workflow exists
files_service.CreateCommitStatus must not explicitly call
gitRepo.Close(), it will be called by the closer function.

Calling it explicitly will cause the repository to be closed
prematurely when obtained from the context, making it unusuable by the
caller later on.

For instance, as CreateCommitStatus is called indirectly when a
workflow exists for the tag to be created, it will make the repositoryn
in the context unusable for the tag creation API.
2024-04-19 10:52:17 +02:00
..
actions fix(actions): call automerge service on successful commit state 2024-04-15 16:17:16 +02:00
agit
asymkey
attachment
auth Fix the bug that user may logout if GetUserByID return unknow error (#29964) 2024-04-03 12:13:28 +02:00
automerge
context
convert
cron
externalaccount
feed
forgejo
forms
gitdiff
indexer
issue
lfs
mailer
markup
migrations Change the default maxPerPage for gitbucket (#30392) (#30471) 2024-04-15 09:52:00 +02:00
mirror
notify
org
packages
pull Fix commit_status problem when testing (#29672) (#29675) 2024-03-10 18:45:59 +07:00
release
repository fix(api): error 500 on tag creation when a workflow exists 2024-04-19 10:52:17 +02:00
secrets
task
uinotification
user Check the token's owner and repository when registering a runner (#30406) (#30412) 2024-04-15 09:35:37 +02:00
webhook Fix possible data race on tests (#30093) (#30108) 2024-04-03 12:32:38 +02:00
wiki