mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-07-09 17:19:02 +00:00
fix(ci): add always() to delay-automatic-review and ack-review-request (#6260)
These jobs transitively depend on precheck-pr via authorize. precheck-pr is intentionally skipped for same-repo PRs (only runs for forks). Without always(), GitHub Actions' default behavior propagates the skipped upstream job, causing delay-automatic-review to be skipped even when authorize succeeds. This breaks the entire review chain for same-repo PRs on opened/synchronize events. Fixes PR #5629 review not triggering.
This commit is contained in:
parent
fe3dd93e8f
commit
081c46c5bc
1 changed files with 2 additions and 0 deletions
2
.github/workflows/qwen-code-pr-review.yml
vendored
2
.github/workflows/qwen-code-pr-review.yml
vendored
|
|
@ -77,6 +77,7 @@ jobs:
|
|||
# this `if` only matches the /review command shape.
|
||||
needs: ['authorize']
|
||||
if: |-
|
||||
always() &&
|
||||
needs.authorize.outputs.should_review == 'true' &&
|
||||
((github.event_name == 'issue_comment' &&
|
||||
github.event.issue.pull_request &&
|
||||
|
|
@ -154,6 +155,7 @@ jobs:
|
|||
delay-automatic-review:
|
||||
needs: ['authorize']
|
||||
if: |-
|
||||
always() &&
|
||||
github.event_name == 'pull_request_target' &&
|
||||
(github.event.action == 'opened' ||
|
||||
github.event.action == 'synchronize') &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue