Skip to content

Commit 6f4da3f

Browse files
authored
⬆️ upgrade dependencies
1 parent 918ad9f commit 6f4da3f

File tree

3 files changed

+57
-37
lines changed

3 files changed

+57
-37
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,20 @@ repos:
1313
stages: [commit]
1414

1515
- repo: https://github.com/psf/black
16-
rev: 22.8.0
16+
rev: 22.10.0
1717
hooks:
1818
- id: black
1919
stages: [commit]
2020

2121
- repo: https://github.com/pre-commit/mirrors-prettier
22-
rev: v3.0.0-alpha.0
22+
rev: v3.0.0-alpha.2
2323
hooks:
2424
- id: prettier
2525
types_or: [javascript, jsx, ts, tsx, markdown, yaml]
2626
stages: [commit]
2727

2828
- repo: https://github.com/nonebot/nonemoji
29-
rev: v0.1.2
29+
rev: v0.1.3
3030
hooks:
3131
- id: nonemoji
3232
stages: [prepare-commit-msg]

nonebot/adapters/github/event.py

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
from githubkit.webhooks.models import PullRequestEdited as PullRequestEditedPayload
8181
from githubkit.webhooks.models import PullRequestLocked as PullRequestLockedPayload
8282
from githubkit.webhooks.models import PullRequestOpened as PullRequestOpenedPayload
83+
from githubkit.webhooks.models import PullRequestQueued as PullRequestQueuedPayload
8384
from githubkit.webhooks.models import RepositoryCreated as RepositoryCreatedPayload
8485
from githubkit.webhooks.models import RepositoryDeleted as RepositoryDeletedPayload
8586
from githubkit.webhooks.models import RepositoryRenamed as RepositoryRenamedPayload
@@ -111,6 +112,7 @@
111112
from githubkit.webhooks.models import OrganizationRenamed as OrganizationRenamedPayload
112113
from githubkit.webhooks.models import ProjectColumnEdited as ProjectColumnEditedPayload
113114
from githubkit.webhooks.models import PullRequestAssigned as PullRequestAssignedPayload
115+
from githubkit.webhooks.models import PullRequestDequeued as PullRequestDequeuedPayload
114116
from githubkit.webhooks.models import PullRequestReopened as PullRequestReopenedPayload
115117
from githubkit.webhooks.models import PullRequestUnlocked as PullRequestUnlockedPayload
116118
from githubkit.webhooks.models import (
@@ -245,6 +247,9 @@
245247
from githubkit.webhooks.models import (
246248
DiscussionCategoryChanged as DiscussionCategoryChangedPayload,
247249
)
250+
from githubkit.webhooks.models import (
251+
MergeGroupChecksRequested as MergeGroupChecksRequestedPayload,
252+
)
248253
from githubkit.webhooks.models import (
249254
OrganizationMemberInvited as OrganizationMemberInvitedPayload,
250255
)
@@ -847,6 +852,10 @@ class MembershipRemoved(Event):
847852
payload: MembershipRemovedPayload
848853

849854

855+
class MergeGroupChecksRequested(Event):
856+
payload: MergeGroupChecksRequestedPayload
857+
858+
850859
class MetaDeleted(Event):
851860
payload: MetaDeletedPayload
852861

@@ -1011,6 +1020,10 @@ class PullRequestConvertedToDraft(Event):
10111020
payload: PullRequestConvertedToDraftPayload
10121021

10131022

1023+
class PullRequestDequeued(Event):
1024+
payload: PullRequestDequeuedPayload
1025+
1026+
10141027
class PullRequestEdited(Event):
10151028
payload: PullRequestEditedPayload
10161029

@@ -1027,6 +1040,10 @@ class PullRequestOpened(Event):
10271040
payload: PullRequestOpenedPayload
10281041

10291042

1043+
class PullRequestQueued(Event):
1044+
payload: PullRequestQueuedPayload
1045+
1046+
10301047
class PullRequestReadyForReview(Event):
10311048
payload: PullRequestReadyForReviewPayload
10321049

@@ -1443,6 +1460,9 @@ class WorkflowRunRequested(Event):
14431460
"added": MembershipAdded,
14441461
"removed": MembershipRemoved,
14451462
},
1463+
"merge_group": {
1464+
"checks_requested": MergeGroupChecksRequested,
1465+
},
14461466
"meta": {
14471467
"deleted": MetaDeleted,
14481468
},
@@ -1503,10 +1523,12 @@ class WorkflowRunRequested(Event):
15031523
"auto_merge_enabled": PullRequestAutoMergeEnabled,
15041524
"closed": PullRequestClosed,
15051525
"converted_to_draft": PullRequestConvertedToDraft,
1526+
"dequeued": PullRequestDequeued,
15061527
"edited": PullRequestEdited,
15071528
"labeled": PullRequestLabeled,
15081529
"locked": PullRequestLocked,
15091530
"opened": PullRequestOpened,
1531+
"queued": PullRequestQueued,
15101532
"ready_for_review": PullRequestReadyForReview,
15111533
"reopened": PullRequestReopened,
15121534
"review_request_removed": PullRequestReviewRequestRemoved,

poetry.lock

Lines changed: 32 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)