

























@@ -132,9 +132,9 @@ jobs:
132132if: ${{ inputs.qa_evidence_run_id == '' }}
133133uses: ./.github/workflows/qa-profile-evidence.yml
134134with:
135-ref: ${{ needs.validate_selected_ref.outputs.selected_revision }}
135+ref: ${{ inputs.ref }}
136136expected_sha: ${{ needs.validate_selected_ref.outputs.selected_revision }}
137-qa_profile: all
137+qa_profile: release
138138secrets:
139139OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
140140@@ -238,8 +238,8 @@ jobs:
238238 }
239239240240 const evidence = JSON.parse(fs.readFileSync(evidencePath, "utf8"));
241- if (evidence.profile !== "all") {
242- throw new Error(`qa-evidence.json profile must be all, got ${JSON.stringify(evidence.profile)}`);
241+ if (evidence.profile !== "release") {
242+ throw new Error(`qa-evidence.json profile must be release, got ${JSON.stringify(evidence.profile)}`);
243243 }
244244245245 const artifactDir = path.dirname(evidencePath);
@@ -256,8 +256,8 @@ jobs:
256256 const manifestPath = path.join(artifactDir, manifestNames[0]);
257257 const manifest = JSON.parse(fs.readFileSync(manifestPath, "utf8"));
258258 const manifestProfile = manifest.qaProfile ?? evidence.profile;
259- if (manifestProfile !== "all") {
260- throw new Error(`QA evidence manifest profile must be all, got ${JSON.stringify(manifestProfile)}`);
259+ if (manifestProfile !== "release") {
260+ throw new Error(`QA evidence manifest profile must be release, got ${JSON.stringify(manifestProfile)}`);
261261 }
262262 if (manifest.targetSha !== targetSha) {
263263 throw new Error(`QA evidence manifest targetSha ${manifest.targetSha} does not match selected ref ${targetSha}`);
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。