mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-08-11 17:50:58 +00:00
Add lacking environment variables. (#513)
This commit is contained in:
parent
30dc143809
commit
3cd1cb60b6
1 changed files with 3 additions and 0 deletions
|
@ -583,6 +583,9 @@ func (rc *RunContext) withGithubEnv(env map[string]string) map[string]string {
|
|||
env["GITHUB_SHA"] = github.Sha
|
||||
env["GITHUB_REF"] = github.Ref
|
||||
env["GITHUB_TOKEN"] = github.Token
|
||||
env["GITHUB_SERVER_URL"] = "https://github.com"
|
||||
env["GITHUB_API_URL"] = "https://api.github.com"
|
||||
env["GITHUB_GRAPHQL_URL"] = "https://api.github.com/graphql"
|
||||
return env
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue