mirror of https://github.com/go-gitea/gitea.git
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.
47b912cd52
When creating commit status for Actons jobs, a payload with nil `HeadCommit` will cause panic. Reported at: https://gitea.com/gitea/act_runner/issues/28#issuecomment-732166 Although the `HeadCommit` probably can not be nil after #23215, `CreateCommitStatus` should protect itself, to avoid being broken in the future. In addition, it's enough to print error log instead of returning err when `CreateCommitStatus` failed. --------- Co-authored-by: delvh <dev.lh@web.de> |
2 years ago | |
---|---|---|
.. | ||
clear_tasks.go | 2 years ago | |
commit_status.go | 2 years ago | |
init.go | 2 years ago | |
job_emitter.go | 2 years ago | |
job_emitter_test.go | 2 years ago | |
notifier.go | 2 years ago | |
notifier_helper.go | 2 years ago |