gitea/services
yp05327 96d31fe0a8
Avoid user does not exist error when detecting schedule actions when the commit author is an external user (#30357)
![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.
2024-04-11 15:11:32 +08:00
..
actions Avoid user does not exist error when detecting schedule actions when the commit author is an external user (#30357) 2024-04-11 15:11:32 +08:00
agit Performance optimization for git push (#30104) 2024-04-09 03:43:17 +00:00
asymkey
attachment
auth Migrate margin and padding helpers to tailwind (#30043) 2024-03-24 17:42:49 +01:00
automerge
context Clean up log messages (#30313) 2024-04-07 19:17:06 +08:00
contexttest Render embedded code preview by permlink in markdown (#30234) 2024-04-02 17:48:27 +00:00
convert Fix missed doer (#30231) 2024-04-08 21:26:41 +00:00
cron Move some asymkey functions to service layer (#28894) 2024-03-04 08:57:39 +00:00
doctor Add optional doctor storage init (#30330) 2024-04-08 20:59:09 +00:00
externalaccount
feed
forms
gitdiff
indexer
issue Fix Add/Remove WIP on pull request title failure (#29999) 2024-03-25 15:51:23 +08:00
lfs
mailer
markup Fix code block style for code preview (#30298) 2024-04-06 20:07:08 +08:00
migrations Fix duplicate migrated milestones (#30102) 2024-03-26 10:20:26 +00:00
mirror
notify Clean up log messages (#30313) 2024-04-07 19:17:06 +08:00
org Delete repos of org when purge delete user (#27273) 2023-10-19 13:16:11 +00:00
packages
pull Commit-Dropdown: Show Author of commit if available (#30272) 2024-04-05 00:51:53 +00:00
release
repository Clean up log messages (#30313) 2024-04-07 19:17:06 +08:00
secrets
task
uinotification
user Refactor DeleteInactiveUsers, fix bug and add tests (#30206) 2024-04-01 02:06:35 +00:00
webhook Fix missed doer (#30231) 2024-04-08 21:26:41 +00:00
wiki Avoid showing Failed to change the default wiki branch if repo has no wiki when saving repo settings (#30329) 2024-04-08 19:43:23 +08:00