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
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.
11 months ago
..
auth.go Add ac claim for old docker/build-push-action@v3 / current buildx gha cache (#29584) 12 months ago
auth_test.go Add ac claim for old docker/build-push-action@v3 / current buildx gha cache (#29584) 12 months ago
cleanup.go Expire artifacts before deleting them physically (#29241) 1 year ago
clear_tasks.go Use db.Find instead of writing methods for every object (#28084) 1 year ago
commit_status.go Use db.ListOptionsAll instead of db.ListOptions{ListAll: true} (#29995) 11 months ago
init.go Move notification interface to services layer (#26915) 1 year ago
job_emitter.go The job should always run when `if` is `always()` (#29464) 1 year ago
job_emitter_test.go The job should always run when `if` is `always()` (#29464) 1 year ago
notifier.go Fix missed doer (#30231) 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) 11 months ago
rerun.go Fix bugs in rerunning jobs (#29955) 11 months ago
rerun_test.go Fix bugs in rerunning jobs (#29955) 11 months ago
schedule_tasks.go Remove scheduled action tasks if the repo is archived (#30224) 11 months ago
variables.go Add API for `Variables` (#29520) 11 months ago