state property

String? state
getter/setter pair

The current state of the PR.

Output only. Possible string values are:

  • "STATE_UNSPECIFIED" : Default value.
  • "OPEN" : The PR is open.
  • "CLOSED" : The PR is closed.
  • "MERGED" : The PR is merged.
  • "DECLINED" : The PR is declined. Only used by SCM providers that support declining pull requests. Never used for GitHub, GitHub Enterprise, GitLab, or GitLab Enterprise, where a pull request closed without being merged is CLOSED.

Implementation

core.String? state;