loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request 'feat(secret): generate FORGEJO_TOKEN for all tasks' (#6199) from xtex/forgejo:forgejo-token into forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6199
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>

+2 -1
+2 -1
models/secret/secret.go
··· 135 135 136 136 secrets["GITHUB_TOKEN"] = task.Token 137 137 secrets["GITEA_TOKEN"] = task.Token 138 + secrets["FORGEJO_TOKEN"] = task.Token 138 139 139 140 if task.Job.Run.IsForkPullRequest && task.Job.Run.TriggerEvent != actions_module.GithubEventPullRequestTarget { 140 - // ignore secrets for fork pull request, except GITHUB_TOKEN and GITEA_TOKEN which are automatically generated. 141 + // ignore secrets for fork pull request, except GITHUB_TOKEN, GITEA_TOKEN and FORGEJO_TOKEN which are automatically generated. 141 142 // for the tasks triggered by pull_request_target event, they could access the secrets because they will run in the context of the base branch 142 143 // see the documentation: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target 143 144 return secrets, nil