···135135136136 secrets["GITHUB_TOKEN"] = task.Token
137137 secrets["GITEA_TOKEN"] = task.Token
138138+ secrets["FORGEJO_TOKEN"] = task.Token
138139139140 if task.Job.Run.IsForkPullRequest && task.Job.Run.TriggerEvent != actions_module.GithubEventPullRequestTarget {
140140- // ignore secrets for fork pull request, except GITHUB_TOKEN and GITEA_TOKEN which are automatically generated.
141141+ // ignore secrets for fork pull request, except GITHUB_TOKEN, GITEA_TOKEN and FORGEJO_TOKEN which are automatically generated.
141142 // 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
142143 // see the documentation: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target
143144 return secrets, nil