mirror of
https://github.com/go-gitea/gitea
synced 2025-01-12 10:44:27 +00:00
6cfe67cfc3
Fix #30361, regression of #29782 which is a backport, not the original #29468. #29468 did a small refactor which introduced a new function `GetVariablesOfRun`. However, it's designed for v1.22 which supports global variables. After backporting it to v1.21, it will still try to get global variables, which causes it to retrieve all variables.