mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-24 18:10:52 +00:00
[CI] Revert "Restrict [actions].DEFAULT_ACTIONS_URL
to only github
or self
(#25581)"
This reverts commit67bd9d4f1e
. (cherry picked from commit0547e94023
)
This commit is contained in:
parent
d0ffbd112c
commit
d21ad654ad
5 changed files with 33 additions and 139 deletions
|
@ -184,7 +184,7 @@ func generateTaskContext(t *actions_model.ActionTask) *structpb.Struct {
|
|||
"workspace": "", // string, The default working directory on the runner for steps, and the default location of your repository when using the checkout action.
|
||||
|
||||
// additional contexts
|
||||
"gitea_default_actions_url": setting.Actions.DefaultActionsURL.URL(),
|
||||
"gitea_default_actions_url": setting.Actions.DefaultActionsURL,
|
||||
})
|
||||
if err != nil {
|
||||
log.Error("structpb.NewStruct failed: %v", err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue