Skip to content

Commit

Permalink
test: 错误的触发名称
Browse files Browse the repository at this point in the history
  • Loading branch information
RockChinQ committed Dec 27, 2023
1 parent fba8158 commit bf5ebc9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- '**.py'
pull_request_review:
types: [submitted]
pull_request_review_comment:
issue_comment:
types: [created]
# 允许手动触发
workflow_dispatch:
Expand All @@ -21,7 +21,7 @@ jobs:
github.event_name == 'pull_request' ||
(github.event_name == 'pull_request_review' && github.event.review.state == 'APPROVED') ||
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '/test') && github.event.comment.user.login == 'RockChinQ')
(github.event_name == 'issue_comment' && github.event.issue.pull_request != '' && contains(github.event.comment.body, '/test') && github.event.comment.user.login == 'RockChinQ')
steps:
# 签出测试工程仓库代码
- name: Checkout
Expand Down Expand Up @@ -52,4 +52,4 @@ jobs:
- name: Run test
run: |
cd qcg-tester
python main.py
python main.py

0 comments on commit bf5ebc9

Please sign in to comment.