GitHubEnvironment
Defined in: environments/environments.ts:5
A deployment environment of a repository and its protection settings.
Properties
Section titled “Properties”name:
string
Defined in: environments/environments.ts:7
The environment’s name.
prevent_self_review?
Section titled “prevent_self_review?”
optionalprevent_self_review?:boolean
Defined in: environments/environments.ts:11
Whether the user who triggered a deployment may also approve it.
protection_rules?
Section titled “protection_rules?”
optionalprotection_rules?:object[]
Defined in: environments/environments.ts:13
The protection rules on the environment; each has a type and, for required reviewers, the reviewers.
reviewers?
Section titled “reviewers?”
optionalreviewers?:object[]
type:
string
wait_timer?
Section titled “wait_timer?”
optionalwait_timer?:number
Defined in: environments/environments.ts:9
Minutes to wait before a job that targets the environment may proceed.