forgejo/services
yp05327 e74865caba
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.
(cherry picked from commit 96d31fe0a8b88c09488989cd5459d4124dcb7983)
2024-04-15 20:01:36 +02:00
..
actions Avoid user does not exist error when detecting schedule actions when the commit author is an external user (#30357) 2024-04-15 20:01:36 +02:00
agit
asymkey
attachment
auth
automerge
context Clean up log messages (#30313) 2024-04-15 20:01:35 +02:00
contexttest add label filters in org/{org_name}/issues 2024-04-04 17:57:11 +05:30
convert Fix missed doer (#30231) 2024-04-15 20:01:35 +02:00
cron Update checker setting updates 2024-03-31 10:52:24 +05:00
doctor Count downloads for tag archives 2024-04-08 12:51:27 +02:00
externalaccount
feed
forgejo
forms [I18N] Improve English locale 2024-04-06 23:06:39 +05:00
gitdiff
indexer
issue
lfs
mailer
markup Format code 2024-03-28 05:42:25 +01:00
migrations Fix duplicate migrated milestones (#30102) 2024-03-30 07:17:30 +01:00
mirror Use repo object format name instead of detecting from git repository (#29702) 2024-03-20 08:46:28 +01:00
notify Clean up log messages (#30313) 2024-04-15 20:01:35 +02:00
org
packages
pull Do not update PRs based on events that happened before they existed 2024-04-11 11:16:23 +02:00
release Count downloads for tag archives 2024-04-08 12:51:27 +02:00
repository Clean up log messages (#30313) 2024-04-15 20:01:35 +02:00
secrets
task
uinotification
user add pronoun field to user profiles 2024-04-03 15:11:17 -05:00
webhook Fix missed doer (#30231) 2024-04-15 20:01:35 +02:00
wiki Clean up log messages (#30313) 2024-04-15 20:01:35 +02:00