fix: keep fork commit reviews API-only

This commit is contained in:
lezi-fun committed 2026-08-14 12:09:35 +08:00
1 parent d36668c5c7
commit 57b2c22a00
4 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -207,7 +207,7 @@ jobs:
ref: main
path: ghbot-runtime
- name: Check out current PR source for agent tasks
if: ${{ inputs.event_name == 'issue_comment' || (inputs.event_name == 'pull_request_target' && inputs.event_action != 'closed' && inputs.auto_resolve_conflicts == 'true') }}
if: ${{ inputs.event_name == 'issue_comment' || (inputs.event_name == 'pull_request_target' && inputs.event_action != 'closed' && inputs.auto_resolve_conflicts == 'true' && inputs.pull_head_repository == format('{0}/{1}', inputs.repository_owner, inputs.repository_name)) }}
uses: actions/checkout@v4
with:
repository: ${{ inputs.repository_owner }}/${{ inputs.repository_name }}