GitHubPullRequestEventAction

class safir.github.webhooks.GitHubPullRequestEventAction(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: str, Enum

The action performed on a GitHub pull_request webhook (GitHubPullRequestEventModel).

Attributes Summary

assigned

A pull request was assigned to a user.

auto_merge_disabled

Auto merge was disabled for a pull request.

auto_merge_enabled

Auto merge was enabled for a pull request.

closed

A pull request was closed.

converted_to_draft

A pull request was converted to a draft.

demilestoned

A pull request was removed from a milestone.

dequeued

A pull request was removed from the merge queue.

edited

The title or body of a pull request was edited.

labeled

A label was added to a pull request.

locked

Conversation on a pull request was locked.

milestoned

A pull request was added to a milestone.

opened

A pull request was created.

ready_for_review

A draft pull request was marked as ready for review.

reopened

A pull request was reopened.

review_request_removed

A request for review by a person or team was removed from a pull request.

review_requested

Review by a person or team was requested for a pull request.

synchronize

A pull request's head branch was updated.

unassigned

A user was unassigned from a pull request.

unlabeled

A label was removed from a pull request.

unlocked

Conversation on a pull request was unlocked.

Attributes Documentation

assigned = 'assigned'

A pull request was assigned to a user.

auto_merge_disabled = 'auto_merge_disabled'

Auto merge was disabled for a pull request.

auto_merge_enabled = 'auto_merge_enabled'

Auto merge was enabled for a pull request.

closed = 'closed'

A pull request was closed.

converted_to_draft = 'converted_to_draft'

A pull request was converted to a draft.

demilestoned = 'demilestoned'

A pull request was removed from a milestone.

dequeued = 'dequeued'

A pull request was removed from the merge queue.

edited = 'edited'

The title or body of a pull request was edited.

labeled = 'labeled'

A label was added to a pull request.

locked = 'locked'

Conversation on a pull request was locked.

milestoned = 'milestoned'

A pull request was added to a milestone.

opened = 'opened'

A pull request was created.

ready_for_review = 'ready_for_review'

A draft pull request was marked as ready for review.

reopened = 'reopened'

A pull request was reopened.

review_request_removed = 'review_request_removed'

A request for review by a person or team was removed from a pull request.

review_requested = 'review_requested'

Review by a person or team was requested for a pull request.

synchronize = 'synchronize'

A pull request’s head branch was updated. For example, the head branch was updated from the base branch or new commits were pushed to the head branch.

unassigned = 'unassigned'

A user was unassigned from a pull request.

unlabeled = 'unlabeled'

A label was removed from a pull request.

unlocked = 'unlocked'

Conversation on a pull request was unlocked.