Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid user does not exist error when detecting schedule actions when …
…the commit author is an external user (go-gitea#30357) (go-gitea#30409) Backport go-gitea#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 go-gitea#24706, it only fixed normal runs, not scheduled runs. Co-authored-by: yp05327 <[email protected]>
- Loading branch information