@henryqw/pi-pr 5.0.0 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/extensions/pr-routing.ts +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -116,7 +116,7 @@ If Herdr lookup, JSON validation, or rename fails, the PR and normal UI refresh
|
|
|
116
116
|
|
|
117
117
|
Current-branch discovery reads pull requests associated with the exact push repository ref. It does not run a global branch search. It finds a fork-head PR whose base is an upstream repository. A unique historical match uses the exact remote push-ref OID, not local HEAD.
|
|
118
118
|
|
|
119
|
-
A no-action state includes drafts, merged or closed pull requests,
|
|
119
|
+
A no-action state includes drafts, merged or closed pull requests, unsupported failed CI, pending review, and blocked merge policy. Running CI blocks merge but not other mutating workflows. A dirty tree or mismatched local HEAD also blocks a mutating workflow.
|
|
120
120
|
|
|
121
121
|
### Route priority
|
|
122
122
|
|
package/extensions/pr-routing.ts
CHANGED
|
@@ -93,10 +93,10 @@ export function derivePullRequestNextStep(pullRequest: PullRequest): Exclude<Nex
|
|
|
93
93
|
return localMutationSafe(local) ? "sweep" : "none";
|
|
94
94
|
}
|
|
95
95
|
if (
|
|
96
|
-
conditions.ci === "running" ||
|
|
97
96
|
conditions.review === "pending" ||
|
|
98
97
|
conditions.policy === "pending" ||
|
|
99
|
-
!localMergeSafe(local)
|
|
98
|
+
!localMergeSafe(local) ||
|
|
99
|
+
conditions.ci === "running"
|
|
100
100
|
) return "none";
|
|
101
101
|
return "merge";
|
|
102
102
|
}
|
package/package.json
CHANGED