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/models
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.
12 months ago
..
actions Avoid user does not exist error when detecting schedule actions when the commit author is an external user (#30357) 12 months ago
activities Refactor more filterslice (#30370) 12 months ago
admin Next round of `db.DefaultContext` refactor (#27089) 2 years ago
asymkey Clean up log messages (#30313) 12 months ago
auth remove util.OptionalBool and related functions (#29513) 1 year ago
avatars Replace 10 more gt- classes with tw- (#29945) 1 year ago
db Replace MSSQL driver with a better maintained version (#30390) 12 months ago
dbfs make writing main test easier (#27270) 2 years ago
fixtures Add default board to new projects, remove uncategorized pseudo-board (#29874) 1 year ago
git Add container.FilterSlice function (#30339) 12 months ago
issues Refactor more filterslice (#30370) 12 months ago
migrations Add unique index for project_issue to prevent duplicate data (#30190) 12 months ago
organization Respect DEFAULT_ORG_MEMBER_VISIBLE setting when adding creator to org (#30013) 1 year ago
packages Fix incorrect relative/absolute URL usages (#29531) 1 year ago
perm Add user blocking (#29028) 1 year ago
project Fix migration v292 (#30153) 1 year ago
pull Add support for sha256 repositories (#23894) 1 year ago
repo Add container.FilterSlice function (#30339) 12 months ago
secret Make runs-on support variable expression (#29468) 1 year ago
shared/types Refactor locale&string&template related code (#29165) 1 year ago
system Refactor deletion (#28610) 1 year ago
unit Make actions default enabled for newly created repository if global configuraion enabled (#27482) 1 year ago
unittest Workaround to clean up old reviews on creating a new one (#28554) 1 year ago
user Refactor DeleteInactiveUsers, fix bug and add tests (#30206) 12 months ago
webhook Store webhook event in database (#29145) 1 year ago
error.go Add merge style `fast-forward-only` (#28954) 1 year ago
fixture_generation.go Replace more db.DefaultContext (#27628) 1 year ago
fixture_test.go Replace more db.DefaultContext (#27628) 1 year ago
main_test.go make writing main test easier (#27270) 2 years ago
org.go Add user blocking (#29028) 1 year ago
org_team.go Add user blocking (#29028) 1 year ago
org_team_test.go Add user blocking (#29028) 1 year ago
org_test.go Add user blocking (#29028) 1 year ago
repo.go Refactor deletion (#28610) 1 year ago
repo_test.go Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
repo_transfer.go Add user blocking (#29028) 1 year ago