Skip to content

Commit

Permalink
refactor: 不需要传递多余的参数
Browse files Browse the repository at this point in the history
  • Loading branch information
he0119 committed Dec 1, 2024
1 parent 28722b5 commit 135ccf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/github/models/issue.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ async def create_pull_request(

async def should_skip_test(self) -> bool:
"""判断评论是否包含跳过的标记"""
comments = await self.list_comments(self.issue_number)
comments = await self.list_comments()
for comment in comments:
author_association = comment.author_association
if comment.body == SKIP_COMMENT and author_association in [
Expand Down

0 comments on commit 135ccf6

Please sign in to comment.