gitea/services/actions
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
..
auth_test.go Add ac claim for old docker/build-push-action@v3 / current buildx gha cache (#29584) 2024-03-05 17:34:42 +00:00
auth.go Add ac claim for old docker/build-push-action@v3 / current buildx gha cache (#29584) 2024-03-05 17:34:42 +00:00
cleanup.go Expire artifacts before deleting them physically (#29241) 2024-02-18 22:25:14 +08:00
clear_tasks.go Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00
commit_status.go Use db.ListOptionsAll instead of db.ListOptions{ListAll: true} (#29995) 2024-03-22 13:53:52 +01:00
init.go Move notification interface to services layer (#26915) 2023-09-05 18:37:47 +00:00
job_emitter_test.go The job should always run when if is always() (#29464) 2024-02-28 11:54:44 +01:00
job_emitter.go The job should always run when if is always() (#29464) 2024-02-28 11:54:44 +01:00
notifier_helper.go 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
notifier.go Fix missed doer (#30231) 2024-04-08 21:26:41 +00:00
rerun_test.go Fix bugs in rerunning jobs (#29955) 2024-03-22 03:19:17 +00:00
rerun.go Fix bugs in rerunning jobs (#29955) 2024-03-22 03:19:17 +00:00
schedule_tasks.go Remove scheduled action tasks if the repo is archived (#30224) 2024-04-01 13:48:14 +00:00
variables.go Add API for Variables (#29520) 2024-03-28 20:40:35 +00:00