You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
require_in_step "$summary_verify_step"'const targetHeadSha = run.head_sha'"PR quality summary must use the CI run head SHA as the verified PR head"
183
+
require_in_step "$summary_verify_step"'eventHeadSha && eventHeadSha.toLowerCase() !== targetHeadSha.toLowerCase()'"PR quality summary should tolerate mutable workflow_run PR head metadata"
182
184
require_in_step "$summary_verify_step"'factsArtifactPattern'"PR quality summary should use the base-bound facts artifact name when available"
185
+
require_in_step "$summary_verify_step"'const baseSha = artifactBaseSha || eventBaseSha || pr.base.sha'"PR quality summary must prefer the CI-time artifact base SHA"
183
186
require_in_step "$summary_verify_step"'core.setOutput("artifact_error"'"PR quality summary must expose artifact binding failures"
184
187
require_in_step "$summary_artifact_step"'factsArtifactName'"PR quality summary artifact step must use the verified facts artifact binding"
185
188
require_in_step "$summary_extract_facts_step"'SEMANTIC_REVIEW_DECISION_OUT'"PR quality summary artifact verifier must write an infrastructure decision on verifier failure"
require_in_step "$verify_step"'run.repository.id !== context.payload.repository.id'"semantic-review must verify workflow_run repository id"
199
202
require_in_step "$verify_step"'run.event !== "pull_request"'"semantic-review must only handle pull_request workflow_run events"
200
203
require_in_step "$verify_step"'run.conclusion !== "success"'"semantic-review must only consume successful CI runs"
201
-
require_in_step "$verify_step"'const eventHeadSha = runPRs[0]?.head?.sha || ""'"semantic-review must prefer workflow_run PR head when GitHub provides it"
202
-
require_in_step "$verify_step"'const targetHeadSha = eventHeadSha || run.head_sha'"semantic-review target PR head must come from the workflow_run event"
204
+
require_in_step "$verify_step"'const eventHeadSha = runPRs[0]?.head?.sha || ""'"semantic-review should inspect workflow_run PR head metadata"
205
+
require_in_step "$verify_step"'const targetHeadSha = run.head_sha'"semantic-review target PR head must come from the completed CI run"
206
+
require_in_step "$verify_step"'eventHeadSha && eventHeadSha.toLowerCase() !== targetHeadSha.toLowerCase()'"semantic-review should tolerate mutable workflow_run PR head metadata"
203
207
require_in_step "$verify_step"'factsArtifactPattern'"semantic-review must use a base-bound facts artifact name"
204
208
require_in_step "$verify_step"'listWorkflowRunArtifacts'"semantic-review must read the workflow_run artifacts before resolving fallback base SHA"
205
209
require_in_step "$verify_step"'artifactHeadSha.toLowerCase() !== targetHeadSha.toLowerCase()'"semantic-review must not let the artifact choose a different PR head"
@@ -210,8 +214,8 @@ require_in_step "$verify_step" 'commit_sha: targetHeadSha' "semantic-review fall
210
214
require_in_step "$verify_step"'github.rest.pulls.list'"semantic-review must have a pull-list fallback when commit association is empty"
211
215
require_in_step "$verify_step"'candidatePRs.length > 1'"semantic-review must fail closed when commit-to-PR fallback is ambiguous"
212
216
require_in_step "$verify_step"'pr.head.sha !== targetHeadSha'"semantic-review must skip stale PR heads"
213
-
require_in_step "$verify_step"'eventBaseSha && parsedBaseSha.toLowerCase() !== eventBaseSha.toLowerCase()'"semantic-review must reject mismatched event and artifact base SHAs"
214
-
require_in_step "$verify_step"'const baseSha = eventBaseSha || artifactBaseSha'"semantic-review fallback must use the CI-time artifact base SHA"
217
+
require_in_step "$verify_step"'eventBaseSha && parsedBaseSha.toLowerCase() !== eventBaseSha.toLowerCase()'"semantic-review should tolerate mutable workflow_run PR base metadata"
218
+
require_in_step "$verify_step"'const baseSha = artifactBaseSha || eventBaseSha || pr.base.sha'"semantic-review must prefer the CI-time artifact base SHA"
215
219
require_in_step "$verify_step"'pr.base.sha !== baseSha'"semantic-review must skip stale PR bases"
216
220
require_in_step "$verify_step"'core.setOutput("run_id"'"semantic-review must pass verified workflow run id to publisher"
217
221
require_in_step "$verify_step"'core.setOutput("head_repo_id"'"semantic-review must pass verified head repo id"
0 commit comments