mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-10 12:15:43 +01:00
eeaf51ab1d
Backport #30357 by @yp05327 ![image](https://github.com/go-gitea/gitea/assets/18380374/ddf6ee84-2242-49b9-b066-bd8429ba4d76) When repo is a mirror, and commit author is an external user, then `GetUserByEmail` will return error. reproduce/test: - mirror Gitea to your instance - disable action and enable it again, this will trigger `DetectAndHandleSchedules` ps: also follow #24706, it only fixed normal runs, not scheduled runs. Co-authored-by: yp05327 <576951401@qq.com> (cherry picked from commit 69cc79173ddbf7662c4d7246b6161b9351038d16) |
||
---|---|---|
.. | ||
auth.go | ||
auth_test.go | ||
cleanup.go | ||
clear_tasks.go | ||
commit_status.go | ||
init.go | ||
job_emitter.go | ||
job_emitter_test.go | ||
main_test.go | ||
notifier.go | ||
notifier_helper.go | ||
notifier_helper_test.go | ||
rerun.go | ||
rerun_test.go | ||
schedule_tasks.go |