Add lacking environment variables. (#513)
This commit is contained in:
parent
8339f4b404
commit
eca1b9c478
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_SHA"] = github.Sha
|
||||||
env["GITHUB_REF"] = github.Ref
|
env["GITHUB_REF"] = github.Ref
|
||||||
env["GITHUB_TOKEN"] = github.Token
|
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
|
return env
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue