You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/services/actions
Giteabot 245e8d10c2
Avoid user does not exist error when detecting schedule actions when the commit author is an external user (#30357) (#30408)
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>
11 months ago
..
cleanup.go Artifacts retention and auto clean up (#26131) 1 year ago
clear_tasks.go Make Actions tasks/jobs timeouts configurable by the user (#27400) (#27402) 1 year ago
commit_status.go Fix create commit status (#30225) (#30340) 11 months ago
init.go Move notification interface to services layer (#26915) 2 years ago
job_emitter.go The job should always run when `if` is `always()` (#29464) (#29469) 1 year ago
job_emitter_test.go The job should always run when `if` is `always()` (#29464) (#29469) 1 year ago
notifier.go Fix invalid link of the commit status when ref is tag (#29752) (#29908) 11 months ago
notifier_helper.go Avoid user does not exist error when detecting schedule actions when the commit author is an external user (#30357) (#30408) 11 months ago
rerun.go Fix bugs in rerunning jobs (#29955) (#29983) 11 months ago
rerun_test.go Fix bugs in rerunning jobs (#29955) (#29983) 11 months ago
schedule_tasks.go Fix an actions schedule bug (#28942) (#28999) 1 year ago