GitHubPullRequestEventAction¶
- class safir.github.webhooks.GitHubPullRequestEventAction(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)¶
-
The action performed on a GitHub
pull_request
webhook (GitHubPullRequestEventModel
).Attributes Summary
A pull request was assigned to a user.
Auto merge was disabled for a pull request.
Auto merge was enabled for a pull request.
A pull request was closed.
A pull request was converted to a draft.
A pull request was removed from a milestone.
A pull request was removed from the merge queue.
The title or body of a pull request was edited.
A label was added to a pull request.
Conversation on a pull request was locked.
A pull request was added to a milestone.
A pull request was created.
A draft pull request was marked as ready for review.
A pull request was reopened.
A request for review by a person or team was removed from a pull request.
Review by a person or team was requested for a pull request.
A pull request's head branch was updated.
A user was unassigned from a pull request.
A label was removed from a pull request.
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.