gitea/routers/web/repo/actions
Chongyi Zheng 970965f6d8
Fix nil dereference on error ()
In both cases, the `err` is nil because of `if` checks before

Reference: 
..
actions.go Fix bugs in rerunning jobs ()
badge.go Implement actions badge svgs ()
view.go Fix nil dereference on error ()