mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-25 04:24:10 +08:00

In the old `pickTask`, when getting secrets or variables failed, the task could get stuck in the `running` status (task status is `running` but the runner did not fetch the task). To fix this issue, these steps should be in one transaction. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>