File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -114,6 +114,7 @@ jobs:
114114
115115 - name : Run OpenCodeReview
116116 uses : alibaba/open-code-review@main
117+ continue-on-error : true
117118 with :
118119 llm_url : ${{ secrets.OCR_LLM_URL }}
119120 llm_auth_token : ${{ secrets.OCR_LLM_AUTH_TOKEN }}
Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ jobs:
223223 # PR-direct runs for this commit. head_sha is precise.
224224 PR_RUNS=$(gh api \
225225 "repos/${{ github.repository }}/actions/runs?head_sha=${HEAD_SHA}&per_page=100" \
226- --jq "[.workflow_runs[] | select(.event==\"pull_request\") | ${RUN_FIELDS}]")
226+ --jq "[.workflow_runs[] | select(.event==\"pull_request\" or .event==\"pull_request_target\" ) | ${RUN_FIELDS}]")
227227
228228 # Cascade runs: read commit statuses on the PR head SHA. Each cascade
229229 # writes a status with target_url=.../actions/runs/<id> early in its
You can’t perform that action at this time.
0 commit comments