diff --git a/.github/workflows/breaking-change-checker.lock.yml b/.github/workflows/breaking-change-checker.lock.yml index 1076747fc4..d247fc762b 100644 --- a/.github/workflows/breaking-change-checker.lock.yml +++ b/.github/workflows/breaking-change-checker.lock.yml @@ -7602,7 +7602,7 @@ jobs: description: "The following issues would be created if staged mode was disabled:", items: createIssueItems, renderItem: (item, index) => { - let content = `### Issue ${index + 1}\n`; + let content = `#### Issue ${index + 1}\n`; content += `**Title:** ${item.title || "No title provided"}\n\n`; if (item.temporary_id) { content += `**Temporary ID:** ${item.temporary_id}\n\n`; diff --git a/.github/workflows/campaign-generator.lock.yml b/.github/workflows/campaign-generator.lock.yml index 28bc5505a2..e996d86bd3 100644 --- a/.github/workflows/campaign-generator.lock.yml +++ b/.github/workflows/campaign-generator.lock.yml @@ -7501,7 +7501,7 @@ jobs: }; EOF_95d23c7d - cat > /tmp/gh-aw/scripts/update_runner.cjs << 'EOF_1b5d3c1d' + cat > /tmp/gh-aw/scripts/update_runner.cjs << 'EOF_006d32d7' // @ts-check /// @@ -7802,7 +7802,7 @@ jobs: const { entityName, numberField, targetLabel, currentTargetText, includeOperation = false } = config; return function renderStagedItem(item, index) { - let content = `### ${entityName} Update ${index + 1}\n`; + let content = `#### ${entityName} Update ${index + 1}\n`; if (item[numberField]) { content += `**${targetLabel}** #${item[numberField]}\n\n`; } else { @@ -7854,7 +7854,7 @@ jobs: createGetSummaryLine, }; - EOF_1b5d3c1d + EOF_006d32d7 - name: Assign To Agent id: assign_to_agent if: ((!cancelled()) && (needs.agent.result != 'skipped')) && (contains(needs.agent.outputs.output_types, 'assign_to_agent')) diff --git a/.github/workflows/changeset.lock.yml b/.github/workflows/changeset.lock.yml index cba0d894bb..798374cd43 100644 --- a/.github/workflows/changeset.lock.yml +++ b/.github/workflows/changeset.lock.yml @@ -8079,7 +8079,7 @@ jobs: }; EOF_d0693c3b - cat > /tmp/gh-aw/scripts/update_runner.cjs << 'EOF_1b5d3c1d' + cat > /tmp/gh-aw/scripts/update_runner.cjs << 'EOF_006d32d7' // @ts-check /// @@ -8380,7 +8380,7 @@ jobs: const { entityName, numberField, targetLabel, currentTargetText, includeOperation = false } = config; return function renderStagedItem(item, index) { - let content = `### ${entityName} Update ${index + 1}\n`; + let content = `#### ${entityName} Update ${index + 1}\n`; if (item[numberField]) { content += `**${targetLabel}** #${item[numberField]}\n\n`; } else { @@ -8432,7 +8432,7 @@ jobs: createGetSummaryLine, }; - EOF_1b5d3c1d + EOF_006d32d7 - name: Update Pull Request id: update_pull_request if: ((!cancelled()) && (needs.agent.result != 'skipped')) && (contains(needs.agent.outputs.output_types, 'update_pull_request')) diff --git a/.github/workflows/ci-doctor.lock.yml b/.github/workflows/ci-doctor.lock.yml index 6d17bd3fd3..ae54a2d779 100644 --- a/.github/workflows/ci-doctor.lock.yml +++ b/.github/workflows/ci-doctor.lock.yml @@ -7980,7 +7980,7 @@ jobs: description: "The following issues would be created if staged mode was disabled:", items: createIssueItems, renderItem: (item, index) => { - let content = `### Issue ${index + 1}\n`; + let content = `#### Issue ${index + 1}\n`; content += `**Title:** ${item.title || "No title provided"}\n\n`; if (item.temporary_id) { content += `**Temporary ID:** ${item.temporary_id}\n\n`; diff --git a/.github/workflows/cli-consistency-checker.lock.yml b/.github/workflows/cli-consistency-checker.lock.yml index a27ed4ed2e..e415fd02dd 100644 --- a/.github/workflows/cli-consistency-checker.lock.yml +++ b/.github/workflows/cli-consistency-checker.lock.yml @@ -7392,7 +7392,7 @@ jobs: description: "The following issues would be created if staged mode was disabled:", items: createIssueItems, renderItem: (item, index) => { - let content = `### Issue ${index + 1}\n`; + let content = `#### Issue ${index + 1}\n`; content += `**Title:** ${item.title || "No title provided"}\n\n`; if (item.temporary_id) { content += `**Temporary ID:** ${item.temporary_id}\n\n`; diff --git a/.github/workflows/cli-version-checker.lock.yml b/.github/workflows/cli-version-checker.lock.yml index 28a71e108b..4f90338df8 100644 --- a/.github/workflows/cli-version-checker.lock.yml +++ b/.github/workflows/cli-version-checker.lock.yml @@ -7182,7 +7182,7 @@ jobs: description: "The following issues would be created if staged mode was disabled:", items: createIssueItems, renderItem: (item, index) => { - let content = `### Issue ${index + 1}\n`; + let content = `#### Issue ${index + 1}\n`; content += `**Title:** ${item.title || "No title provided"}\n\n`; if (item.temporary_id) { content += `**Temporary ID:** ${item.temporary_id}\n\n`; diff --git a/.github/workflows/daily-file-diet.lock.yml b/.github/workflows/daily-file-diet.lock.yml index 3950948f75..8562e62023 100644 --- a/.github/workflows/daily-file-diet.lock.yml +++ b/.github/workflows/daily-file-diet.lock.yml @@ -8676,7 +8676,7 @@ jobs: description: "The following issues would be created if staged mode was disabled:", items: createIssueItems, renderItem: (item, index) => { - let content = `### Issue ${index + 1}\n`; + let content = `#### Issue ${index + 1}\n`; content += `**Title:** ${item.title || "No title provided"}\n\n`; if (item.temporary_id) { content += `**Temporary ID:** ${item.temporary_id}\n\n`; diff --git a/.github/workflows/daily-multi-device-docs-tester.lock.yml b/.github/workflows/daily-multi-device-docs-tester.lock.yml index d63fd0fe1d..6b1ba78810 100644 --- a/.github/workflows/daily-multi-device-docs-tester.lock.yml +++ b/.github/workflows/daily-multi-device-docs-tester.lock.yml @@ -7004,7 +7004,7 @@ jobs: description: "The following issues would be created if staged mode was disabled:", items: createIssueItems, renderItem: (item, index) => { - let content = `### Issue ${index + 1}\n`; + let content = `#### Issue ${index + 1}\n`; content += `**Title:** ${item.title || "No title provided"}\n\n`; if (item.temporary_id) { content += `**Temporary ID:** ${item.temporary_id}\n\n`; diff --git a/.github/workflows/dependabot-go-checker.lock.yml b/.github/workflows/dependabot-go-checker.lock.yml index c1c61fbaa7..ecdd387ad7 100644 --- a/.github/workflows/dependabot-go-checker.lock.yml +++ b/.github/workflows/dependabot-go-checker.lock.yml @@ -8091,7 +8091,7 @@ jobs: description: "The following issues would be created if staged mode was disabled:", items: createIssueItems, renderItem: (item, index) => { - let content = `### Issue ${index + 1}\n`; + let content = `#### Issue ${index + 1}\n`; content += `**Title:** ${item.title || "No title provided"}\n\n`; if (item.temporary_id) { content += `**Temporary ID:** ${item.temporary_id}\n\n`; diff --git a/.github/workflows/duplicate-code-detector.lock.yml b/.github/workflows/duplicate-code-detector.lock.yml index f6867e5ba3..fc2470c993 100644 --- a/.github/workflows/duplicate-code-detector.lock.yml +++ b/.github/workflows/duplicate-code-detector.lock.yml @@ -7047,7 +7047,7 @@ jobs: description: "The following issues would be created if staged mode was disabled:", items: createIssueItems, renderItem: (item, index) => { - let content = `### Issue ${index + 1}\n`; + let content = `#### Issue ${index + 1}\n`; content += `**Title:** ${item.title || "No title provided"}\n\n`; if (item.temporary_id) { content += `**Temporary ID:** ${item.temporary_id}\n\n`; diff --git a/.github/workflows/go-pattern-detector.lock.yml b/.github/workflows/go-pattern-detector.lock.yml index 29e8672890..0c11aa5748 100644 --- a/.github/workflows/go-pattern-detector.lock.yml +++ b/.github/workflows/go-pattern-detector.lock.yml @@ -6970,7 +6970,7 @@ jobs: description: "The following issues would be created if staged mode was disabled:", items: createIssueItems, renderItem: (item, index) => { - let content = `### Issue ${index + 1}\n`; + let content = `#### Issue ${index + 1}\n`; content += `**Title:** ${item.title || "No title provided"}\n\n`; if (item.temporary_id) { content += `**Temporary ID:** ${item.temporary_id}\n\n`; diff --git a/.github/workflows/grumpy-reviewer.lock.yml b/.github/workflows/grumpy-reviewer.lock.yml index dbc0870384..fc2770af22 100644 --- a/.github/workflows/grumpy-reviewer.lock.yml +++ b/.github/workflows/grumpy-reviewer.lock.yml @@ -8872,7 +8872,7 @@ jobs: description: "The following review comments would be created if staged mode was disabled:", items: reviewCommentItems, renderItem: (item, index) => { - let content = `### Review Comment ${index + 1}\n`; + let content = `#### Review Comment ${index + 1}\n`; if (item.pull_request_number) { const repoUrl = getRepositoryUrl(); const pullUrl = `${repoUrl}/pull/${item.pull_request_number}`; diff --git a/.github/workflows/human-ai-collaboration.lock.yml b/.github/workflows/human-ai-collaboration.lock.yml index a91bd88d3d..2c51eee9dd 100644 --- a/.github/workflows/human-ai-collaboration.lock.yml +++ b/.github/workflows/human-ai-collaboration.lock.yml @@ -7904,7 +7904,7 @@ jobs: description: "The following issues would be created if staged mode was disabled:", items: createIssueItems, renderItem: (item, index) => { - let content = `### Issue ${index + 1}\n`; + let content = `#### Issue ${index + 1}\n`; content += `**Title:** ${item.title || "No title provided"}\n\n`; if (item.temporary_id) { content += `**Temporary ID:** ${item.temporary_id}\n\n`; diff --git a/.github/workflows/incident-response.lock.yml b/.github/workflows/incident-response.lock.yml index afaa9b04a8..5fbf14b5c7 100644 --- a/.github/workflows/incident-response.lock.yml +++ b/.github/workflows/incident-response.lock.yml @@ -9128,7 +9128,7 @@ jobs: description: "The following issues would be created if staged mode was disabled:", items: createIssueItems, renderItem: (item, index) => { - let content = `### Issue ${index + 1}\n`; + let content = `#### Issue ${index + 1}\n`; content += `**Title:** ${item.title || "No title provided"}\n\n`; if (item.temporary_id) { content += `**Temporary ID:** ${item.temporary_id}\n\n`; diff --git a/.github/workflows/intelligence.lock.yml b/.github/workflows/intelligence.lock.yml index 462e870cd3..7a029db5f7 100644 --- a/.github/workflows/intelligence.lock.yml +++ b/.github/workflows/intelligence.lock.yml @@ -8600,7 +8600,7 @@ jobs: description: "The following issues would be created if staged mode was disabled:", items: createIssueItems, renderItem: (item, index) => { - let content = `### Issue ${index + 1}\n`; + let content = `#### Issue ${index + 1}\n`; content += `**Title:** ${item.title || "No title provided"}\n\n`; if (item.temporary_id) { content += `**Temporary ID:** ${item.temporary_id}\n\n`; diff --git a/.github/workflows/issue-arborist.lock.yml b/.github/workflows/issue-arborist.lock.yml index 70f374f278..b8dbbaf8a8 100644 --- a/.github/workflows/issue-arborist.lock.yml +++ b/.github/workflows/issue-arborist.lock.yml @@ -7529,7 +7529,7 @@ jobs: description: "The following issues would be created if staged mode was disabled:", items: createIssueItems, renderItem: (item, index) => { - let content = `### Issue ${index + 1}\n`; + let content = `#### Issue ${index + 1}\n`; content += `**Title:** ${item.title || "No title provided"}\n\n`; if (item.temporary_id) { content += `**Temporary ID:** ${item.temporary_id}\n\n`; diff --git a/.github/workflows/org-wide-rollout.lock.yml b/.github/workflows/org-wide-rollout.lock.yml index b6fe1f3fe1..2aa23e29c2 100644 --- a/.github/workflows/org-wide-rollout.lock.yml +++ b/.github/workflows/org-wide-rollout.lock.yml @@ -9156,7 +9156,7 @@ jobs: description: "The following issues would be created if staged mode was disabled:", items: createIssueItems, renderItem: (item, index) => { - let content = `### Issue ${index + 1}\n`; + let content = `#### Issue ${index + 1}\n`; content += `**Title:** ${item.title || "No title provided"}\n\n`; if (item.temporary_id) { content += `**Temporary ID:** ${item.temporary_id}\n\n`; diff --git a/.github/workflows/plan.lock.yml b/.github/workflows/plan.lock.yml index a779d818e8..631350325b 100644 --- a/.github/workflows/plan.lock.yml +++ b/.github/workflows/plan.lock.yml @@ -8431,7 +8431,7 @@ jobs: description: "The following issues would be created if staged mode was disabled:", items: createIssueItems, renderItem: (item, index) => { - let content = `### Issue ${index + 1}\n`; + let content = `#### Issue ${index + 1}\n`; content += `**Title:** ${item.title || "No title provided"}\n\n`; if (item.temporary_id) { content += `**Temporary ID:** ${item.temporary_id}\n\n`; diff --git a/.github/workflows/poem-bot.lock.yml b/.github/workflows/poem-bot.lock.yml index 1e24642a98..3ef943dc79 100644 --- a/.github/workflows/poem-bot.lock.yml +++ b/.github/workflows/poem-bot.lock.yml @@ -10612,7 +10612,7 @@ jobs: }; EOF_95d23c7d - cat > /tmp/gh-aw/scripts/update_runner.cjs << 'EOF_1b5d3c1d' + cat > /tmp/gh-aw/scripts/update_runner.cjs << 'EOF_006d32d7' // @ts-check /// @@ -10913,7 +10913,7 @@ jobs: const { entityName, numberField, targetLabel, currentTargetText, includeOperation = false } = config; return function renderStagedItem(item, index) { - let content = `### ${entityName} Update ${index + 1}\n`; + let content = `#### ${entityName} Update ${index + 1}\n`; if (item[numberField]) { content += `**${targetLabel}** #${item[numberField]}\n\n`; } else { @@ -10965,7 +10965,7 @@ jobs: createGetSummaryLine, }; - EOF_1b5d3c1d + EOF_006d32d7 - name: Create Issue id: create_issue if: ((!cancelled()) && (needs.agent.result != 'skipped')) && (contains(needs.agent.outputs.output_types, 'create_issue')) @@ -11024,7 +11024,7 @@ jobs: description: "The following issues would be created if staged mode was disabled:", items: createIssueItems, renderItem: (item, index) => { - let content = `### Issue ${index + 1}\n`; + let content = `#### Issue ${index + 1}\n`; content += `**Title:** ${item.title || "No title provided"}\n\n`; if (item.temporary_id) { content += `**Temporary ID:** ${item.temporary_id}\n\n`; @@ -12582,7 +12582,7 @@ jobs: description: "The following review comments would be created if staged mode was disabled:", items: reviewCommentItems, renderItem: (item, index) => { - let content = `### Review Comment ${index + 1}\n`; + let content = `#### Review Comment ${index + 1}\n`; if (item.pull_request_number) { const repoUrl = getRepositoryUrl(); const pullUrl = `${repoUrl}/pull/${item.pull_request_number}`; diff --git a/.github/workflows/pr-nitpick-reviewer.lock.yml b/.github/workflows/pr-nitpick-reviewer.lock.yml index d15f98b21c..9c9bbe1417 100644 --- a/.github/workflows/pr-nitpick-reviewer.lock.yml +++ b/.github/workflows/pr-nitpick-reviewer.lock.yml @@ -9718,7 +9718,7 @@ jobs: description: "The following review comments would be created if staged mode was disabled:", items: reviewCommentItems, renderItem: (item, index) => { - let content = `### Review Comment ${index + 1}\n`; + let content = `#### Review Comment ${index + 1}\n`; if (item.pull_request_number) { const repoUrl = getRepositoryUrl(); const pullUrl = `${repoUrl}/pull/${item.pull_request_number}`; diff --git a/.github/workflows/release.lock.yml b/.github/workflows/release.lock.yml index a772ffb23f..7b39f8ca27 100644 --- a/.github/workflows/release.lock.yml +++ b/.github/workflows/release.lock.yml @@ -7045,7 +7045,7 @@ jobs: description: "The following release updates would be applied if staged mode was disabled:", items: updateItems, renderItem: (item, index) => { - let content = `### Release Update ${index + 1}\n`; + let content = `#### Release Update ${index + 1}\n`; content += `**Tag:** ${item.tag || "(inferred from event context)"}\n`; content += `**Operation:** ${item.operation}\n\n`; content += `**Body Content:**\n${item.body}\n\n`; diff --git a/.github/workflows/security-compliance.lock.yml b/.github/workflows/security-compliance.lock.yml index f5e0a608d5..91c9b14d1f 100644 --- a/.github/workflows/security-compliance.lock.yml +++ b/.github/workflows/security-compliance.lock.yml @@ -7725,7 +7725,7 @@ jobs: description: "The following issues would be created if staged mode was disabled:", items: createIssueItems, renderItem: (item, index) => { - let content = `### Issue ${index + 1}\n`; + let content = `#### Issue ${index + 1}\n`; content += `**Title:** ${item.title || "No title provided"}\n\n`; if (item.temporary_id) { content += `**Temporary ID:** ${item.temporary_id}\n\n`; diff --git a/.github/workflows/semantic-function-refactor.lock.yml b/.github/workflows/semantic-function-refactor.lock.yml index 38f3cf05c8..3e5b3bfa9f 100644 --- a/.github/workflows/semantic-function-refactor.lock.yml +++ b/.github/workflows/semantic-function-refactor.lock.yml @@ -7843,7 +7843,7 @@ jobs: description: "The following issues would be created if staged mode was disabled:", items: createIssueItems, renderItem: (item, index) => { - let content = `### Issue ${index + 1}\n`; + let content = `#### Issue ${index + 1}\n`; content += `**Title:** ${item.title || "No title provided"}\n\n`; if (item.temporary_id) { content += `**Temporary ID:** ${item.temporary_id}\n\n`; diff --git a/.github/workflows/smoke-claude.lock.yml b/.github/workflows/smoke-claude.lock.yml index b96ab02433..1f479fcd45 100644 --- a/.github/workflows/smoke-claude.lock.yml +++ b/.github/workflows/smoke-claude.lock.yml @@ -8603,7 +8603,7 @@ jobs: description: "The following issues would be created if staged mode was disabled:", items: createIssueItems, renderItem: (item, index) => { - let content = `### Issue ${index + 1}\n`; + let content = `#### Issue ${index + 1}\n`; content += `**Title:** ${item.title || "No title provided"}\n\n`; if (item.temporary_id) { content += `**Temporary ID:** ${item.temporary_id}\n\n`; diff --git a/.github/workflows/smoke-codex.lock.yml b/.github/workflows/smoke-codex.lock.yml index 1fb360f804..e65f422c2f 100644 --- a/.github/workflows/smoke-codex.lock.yml +++ b/.github/workflows/smoke-codex.lock.yml @@ -8500,7 +8500,7 @@ jobs: description: "The following issues would be created if staged mode was disabled:", items: createIssueItems, renderItem: (item, index) => { - let content = `### Issue ${index + 1}\n`; + let content = `#### Issue ${index + 1}\n`; content += `**Title:** ${item.title || "No title provided"}\n\n`; if (item.temporary_id) { content += `**Temporary ID:** ${item.temporary_id}\n\n`; diff --git a/.github/workflows/smoke-copilot-playwright.lock.yml b/.github/workflows/smoke-copilot-playwright.lock.yml index 5331960ef3..5de55a675e 100644 --- a/.github/workflows/smoke-copilot-playwright.lock.yml +++ b/.github/workflows/smoke-copilot-playwright.lock.yml @@ -10038,7 +10038,7 @@ jobs: description: "The following issues would be created if staged mode was disabled:", items: createIssueItems, renderItem: (item, index) => { - let content = `### Issue ${index + 1}\n`; + let content = `#### Issue ${index + 1}\n`; content += `**Title:** ${item.title || "No title provided"}\n\n`; if (item.temporary_id) { content += `**Temporary ID:** ${item.temporary_id}\n\n`; diff --git a/.github/workflows/smoke-copilot-safe-inputs.lock.yml b/.github/workflows/smoke-copilot-safe-inputs.lock.yml index a82930ca84..5f9d0ea27e 100644 --- a/.github/workflows/smoke-copilot-safe-inputs.lock.yml +++ b/.github/workflows/smoke-copilot-safe-inputs.lock.yml @@ -9813,7 +9813,7 @@ jobs: description: "The following issues would be created if staged mode was disabled:", items: createIssueItems, renderItem: (item, index) => { - let content = `### Issue ${index + 1}\n`; + let content = `#### Issue ${index + 1}\n`; content += `**Title:** ${item.title || "No title provided"}\n\n`; if (item.temporary_id) { content += `**Temporary ID:** ${item.temporary_id}\n\n`; diff --git a/.github/workflows/smoke-copilot.lock.yml b/.github/workflows/smoke-copilot.lock.yml index 2bf737a669..a93a2aeb12 100644 --- a/.github/workflows/smoke-copilot.lock.yml +++ b/.github/workflows/smoke-copilot.lock.yml @@ -8660,7 +8660,7 @@ jobs: description: "The following issues would be created if staged mode was disabled:", items: createIssueItems, renderItem: (item, index) => { - let content = `### Issue ${index + 1}\n`; + let content = `#### Issue ${index + 1}\n`; content += `**Title:** ${item.title || "No title provided"}\n\n`; if (item.temporary_id) { content += `**Temporary ID:** ${item.temporary_id}\n\n`; diff --git a/.github/workflows/smoke-detector.lock.yml b/.github/workflows/smoke-detector.lock.yml index 6d572fcf63..bc4d724420 100644 --- a/.github/workflows/smoke-detector.lock.yml +++ b/.github/workflows/smoke-detector.lock.yml @@ -8118,7 +8118,7 @@ jobs: description: "The following issues would be created if staged mode was disabled:", items: createIssueItems, renderItem: (item, index) => { - let content = `### Issue ${index + 1}\n`; + let content = `#### Issue ${index + 1}\n`; content += `**Title:** ${item.title || "No title provided"}\n\n`; if (item.temporary_id) { content += `**Temporary ID:** ${item.temporary_id}\n\n`; diff --git a/.github/workflows/speckit-dispatcher.lock.yml b/.github/workflows/speckit-dispatcher.lock.yml index 03863d67c0..60665f2327 100644 --- a/.github/workflows/speckit-dispatcher.lock.yml +++ b/.github/workflows/speckit-dispatcher.lock.yml @@ -8948,7 +8948,7 @@ jobs: description: "The following issues would be created if staged mode was disabled:", items: createIssueItems, renderItem: (item, index) => { - let content = `### Issue ${index + 1}\n`; + let content = `#### Issue ${index + 1}\n`; content += `**Title:** ${item.title || "No title provided"}\n\n`; if (item.temporary_id) { content += `**Temporary ID:** ${item.temporary_id}\n\n`; diff --git a/.github/workflows/stale-repo-identifier.lock.yml b/.github/workflows/stale-repo-identifier.lock.yml index 3727f47813..ebc61411b7 100644 --- a/.github/workflows/stale-repo-identifier.lock.yml +++ b/.github/workflows/stale-repo-identifier.lock.yml @@ -8276,7 +8276,7 @@ jobs: description: "The following issues would be created if staged mode was disabled:", items: createIssueItems, renderItem: (item, index) => { - let content = `### Issue ${index + 1}\n`; + let content = `#### Issue ${index + 1}\n`; content += `**Title:** ${item.title || "No title provided"}\n\n`; if (item.temporary_id) { content += `**Temporary ID:** ${item.temporary_id}\n\n`; diff --git a/.github/workflows/sub-issue-closer.lock.yml b/.github/workflows/sub-issue-closer.lock.yml index f5190b691d..69d3e0d765 100644 --- a/.github/workflows/sub-issue-closer.lock.yml +++ b/.github/workflows/sub-issue-closer.lock.yml @@ -7407,7 +7407,7 @@ jobs: }; EOF_95d23c7d - cat > /tmp/gh-aw/scripts/update_runner.cjs << 'EOF_1b5d3c1d' + cat > /tmp/gh-aw/scripts/update_runner.cjs << 'EOF_006d32d7' // @ts-check /// @@ -7708,7 +7708,7 @@ jobs: const { entityName, numberField, targetLabel, currentTargetText, includeOperation = false } = config; return function renderStagedItem(item, index) { - let content = `### ${entityName} Update ${index + 1}\n`; + let content = `#### ${entityName} Update ${index + 1}\n`; if (item[numberField]) { content += `**${targetLabel}** #${item[numberField]}\n\n`; } else { @@ -7760,7 +7760,7 @@ jobs: createGetSummaryLine, }; - EOF_1b5d3c1d + EOF_006d32d7 - name: Add Comment id: add_comment if: ((!cancelled()) && (needs.agent.result != 'skipped')) && (contains(needs.agent.outputs.output_types, 'add_comment')) diff --git a/.github/workflows/super-linter.lock.yml b/.github/workflows/super-linter.lock.yml index 2c843098f0..7d93564c14 100644 --- a/.github/workflows/super-linter.lock.yml +++ b/.github/workflows/super-linter.lock.yml @@ -7471,7 +7471,7 @@ jobs: description: "The following issues would be created if staged mode was disabled:", items: createIssueItems, renderItem: (item, index) => { - let content = `### Issue ${index + 1}\n`; + let content = `#### Issue ${index + 1}\n`; content += `**Title:** ${item.title || "No title provided"}\n\n`; if (item.temporary_id) { content += `**Temporary ID:** ${item.temporary_id}\n\n`; diff --git a/.github/workflows/video-analyzer.lock.yml b/.github/workflows/video-analyzer.lock.yml index 5caa621e69..54c756ab81 100644 --- a/.github/workflows/video-analyzer.lock.yml +++ b/.github/workflows/video-analyzer.lock.yml @@ -7495,7 +7495,7 @@ jobs: description: "The following issues would be created if staged mode was disabled:", items: createIssueItems, renderItem: (item, index) => { - let content = `### Issue ${index + 1}\n`; + let content = `#### Issue ${index + 1}\n`; content += `**Title:** ${item.title || "No title provided"}\n\n`; if (item.temporary_id) { content += `**Temporary ID:** ${item.temporary_id}\n\n`; diff --git a/pkg/workflow/js/add_comment.test.cjs b/pkg/workflow/js/add_comment.test.cjs index c432f9f651..4c350de591 100644 --- a/pkg/workflow/js/add_comment.test.cjs +++ b/pkg/workflow/js/add_comment.test.cjs @@ -225,11 +225,9 @@ const mockCore = { delete global.context.payload.issue, delete global.context.payload.pull_request); const mockGraphqlResponse = vi.fn(); - (mockGraphqlResponse - .mockResolvedValueOnce({ repository: { discussion: { id: "D_kwDOPc1QR84BpqRs", url: "https://github.com/testowner/testrepo/discussions/1993" } } }) - .mockResolvedValueOnce({ - addDiscussionComment: { comment: { id: "DC_kwDOPc1QR84BpqRt", body: "Test discussion comment", createdAt: "2025-10-19T22:00:00Z", url: "https://github.com/testowner/testrepo/discussions/1993#discussioncomment-123" } }, - }), + (mockGraphqlResponse.mockResolvedValueOnce({ repository: { discussion: { id: "D_kwDOPc1QR84BpqRs", url: "https://github.com/testowner/testrepo/discussions/1993" } } }).mockResolvedValueOnce({ + addDiscussionComment: { comment: { id: "DC_kwDOPc1QR84BpqRt", body: "Test discussion comment", createdAt: "2025-10-19T22:00:00Z", url: "https://github.com/testowner/testrepo/discussions/1993#discussioncomment-123" } }, + }), (global.github.graphql = mockGraphqlResponse), await eval(`(async () => { ${createCommentScript} })()`), expect(mockGraphqlResponse).toHaveBeenCalledTimes(2), @@ -257,11 +255,9 @@ const mockCore = { delete global.context.payload.discussion, delete global.context.payload.pull_request); const mockGraphqlResponse = vi.fn(); - (mockGraphqlResponse - .mockResolvedValueOnce({ repository: { discussion: { id: "D_kwDOPc1QR84BpqRu", url: "https://github.com/testowner/testrepo/discussions/2001" } } }) - .mockResolvedValueOnce({ - addDiscussionComment: { comment: { id: "DC_kwDOPc1QR84BpqRv", body: "Test explicit discussion comment", createdAt: "2025-10-22T12:00:00Z", url: "https://github.com/testowner/testrepo/discussions/2001#discussioncomment-456" } }, - }), + (mockGraphqlResponse.mockResolvedValueOnce({ repository: { discussion: { id: "D_kwDOPc1QR84BpqRu", url: "https://github.com/testowner/testrepo/discussions/2001" } } }).mockResolvedValueOnce({ + addDiscussionComment: { comment: { id: "DC_kwDOPc1QR84BpqRv", body: "Test explicit discussion comment", createdAt: "2025-10-22T12:00:00Z", url: "https://github.com/testowner/testrepo/discussions/2001#discussioncomment-456" } }, + }), (global.github.graphql = mockGraphqlResponse), await eval(`(async () => { ${createCommentScript} })()`), expect(mockGraphqlResponse).toHaveBeenCalledTimes(2), diff --git a/pkg/workflow/js/create_issue.cjs b/pkg/workflow/js/create_issue.cjs index f7942674b1..3852972602 100644 --- a/pkg/workflow/js/create_issue.cjs +++ b/pkg/workflow/js/create_issue.cjs @@ -46,7 +46,7 @@ async function main() { description: "The following issues would be created if staged mode was disabled:", items: createIssueItems, renderItem: (item, index) => { - let content = `### Issue ${index + 1}\n`; + let content = `#### Issue ${index + 1}\n`; content += `**Title:** ${item.title || "No title provided"}\n\n`; if (item.temporary_id) { content += `**Temporary ID:** ${item.temporary_id}\n\n`; diff --git a/pkg/workflow/js/create_issue.test.cjs b/pkg/workflow/js/create_issue.test.cjs index 0583f0e10a..ed69edd9f3 100644 --- a/pkg/workflow/js/create_issue.test.cjs +++ b/pkg/workflow/js/create_issue.test.cjs @@ -259,7 +259,7 @@ const mockCore = { expect(mockCore.summary.write).toHaveBeenCalled()); const infoCall = mockCore.info.mock.calls.find(call => call[0].includes("🎭 Staged Mode: Create Issues Preview")); (expect(infoCall).toBeDefined(), - expect(infoCall[0]).toContain("### Issue 1"), + expect(infoCall[0]).toContain("#### Issue 1"), expect(infoCall[0]).toContain("**Title:** Staged Issue Title"), expect(infoCall[0]).toContain("**Body:**"), expect(infoCall[0]).toContain("Staged issue body content"), diff --git a/pkg/workflow/js/create_pr_review_comment.cjs b/pkg/workflow/js/create_pr_review_comment.cjs index fd56d5c584..6dc42781ed 100644 --- a/pkg/workflow/js/create_pr_review_comment.cjs +++ b/pkg/workflow/js/create_pr_review_comment.cjs @@ -31,7 +31,7 @@ async function main() { description: "The following review comments would be created if staged mode was disabled:", items: reviewCommentItems, renderItem: (item, index) => { - let content = `### Review Comment ${index + 1}\n`; + let content = `#### Review Comment ${index + 1}\n`; if (item.pull_request_number) { const repoUrl = getRepositoryUrl(); const pullUrl = `${repoUrl}/pull/${item.pull_request_number}`; diff --git a/pkg/workflow/js/staged_preview.test.cjs b/pkg/workflow/js/staged_preview.test.cjs index 3e8ce4d836..9baeeb7ef1 100644 --- a/pkg/workflow/js/staged_preview.test.cjs +++ b/pkg/workflow/js/staged_preview.test.cjs @@ -32,7 +32,7 @@ describe("staged_preview.cjs", () => { }, ], renderItem: (item, index) => { - let content = `### Issue ${index + 1}\n`; + let content = `#### Issue ${index + 1}\n`; content += `**Title:** ${item.title || "No title provided"}\n\n`; if (item.body) { content += `**Body:**\n${item.body}\n\n`; @@ -52,7 +52,7 @@ describe("staged_preview.cjs", () => { const summaryContent = mockCore.summary.addRaw.mock.calls[0][0]; expect(summaryContent).toContain("## 🎭 Staged Mode: Create Issues Preview"); expect(summaryContent).toContain("The following issues would be created if staged mode was disabled:"); - expect(summaryContent).toContain("### Issue 1"); + expect(summaryContent).toContain("#### Issue 1"); expect(summaryContent).toContain("**Title:** Test Issue"); expect(summaryContent).toContain("**Body:**\nTest body"); expect(summaryContent).toContain("**Labels:** bug, enhancement"); @@ -73,7 +73,7 @@ describe("staged_preview.cjs", () => { { issue_number: 3, body: "New Body 3" }, ], renderItem: (item, index) => { - let content = `### Issue Update ${index + 1}\n`; + let content = `#### Issue Update ${index + 1}\n`; if (item.issue_number) { content += `**Target Issue:** #${item.issue_number}\n\n`; } @@ -94,14 +94,14 @@ describe("staged_preview.cjs", () => { const summaryContent = mockCore.summary.addRaw.mock.calls[0][0]; expect(summaryContent).toContain("## 🎭 Staged Mode: Update Issues Preview"); - expect(summaryContent).toContain("### Issue Update 1"); + expect(summaryContent).toContain("#### Issue Update 1"); expect(summaryContent).toContain("**Target Issue:** #1"); expect(summaryContent).toContain("**New Title:** New Title 1"); expect(summaryContent).toContain("**New Status:** open"); - expect(summaryContent).toContain("### Issue Update 2"); + expect(summaryContent).toContain("#### Issue Update 2"); expect(summaryContent).toContain("**Target Issue:** #2"); expect(summaryContent).toContain("**New Status:** closed"); - expect(summaryContent).toContain("### Issue Update 3"); + expect(summaryContent).toContain("#### Issue Update 3"); expect(summaryContent).toContain("**New Body:**\nNew Body 3"); // Check that all items are separated by dividers @@ -163,7 +163,7 @@ describe("staged_preview.cjs", () => { ], renderItem: (item, index) => { const getRepositoryUrl = () => "https://github.com/test/repo"; - let content = `### Review Comment ${index + 1}\n`; + let content = `#### Review Comment ${index + 1}\n`; if (item.pull_request_number) { const repoUrl = getRepositoryUrl(); const pullUrl = `${repoUrl}/pull/${item.pull_request_number}`; @@ -186,14 +186,14 @@ describe("staged_preview.cjs", () => { const summaryContent = mockCore.summary.addRaw.mock.calls[0][0]; expect(summaryContent).toContain("## 🎭 Staged Mode: Create PR Review Comments Preview"); - expect(summaryContent).toContain("### Review Comment 1"); + expect(summaryContent).toContain("#### Review Comment 1"); expect(summaryContent).toContain("**Target PR:** [#123](https://github.com/test/repo/pull/123)"); expect(summaryContent).toContain("**File:** src/main.js"); expect(summaryContent).toContain("**Line:** 42"); expect(summaryContent).toContain("**Start Line:** 40"); expect(summaryContent).toContain("**Side:** RIGHT"); expect(summaryContent).toContain("**Body:**\nThis needs improvement"); - expect(summaryContent).toContain("### Review Comment 2"); + expect(summaryContent).toContain("#### Review Comment 2"); expect(summaryContent).toContain("**Target:** Current PR"); expect(summaryContent).toContain("**File:** src/utils.js"); expect(summaryContent).toContain("**Side:** LEFT"); diff --git a/pkg/workflow/js/update_release.cjs b/pkg/workflow/js/update_release.cjs index d04a5cee1e..e0fc653f84 100644 --- a/pkg/workflow/js/update_release.cjs +++ b/pkg/workflow/js/update_release.cjs @@ -29,7 +29,7 @@ async function main() { description: "The following release updates would be applied if staged mode was disabled:", items: updateItems, renderItem: (item, index) => { - let content = `### Release Update ${index + 1}\n`; + let content = `#### Release Update ${index + 1}\n`; content += `**Tag:** ${item.tag || "(inferred from event context)"}\n`; content += `**Operation:** ${item.operation}\n\n`; content += `**Body Content:**\n${item.body}\n\n`; diff --git a/pkg/workflow/js/update_runner.cjs b/pkg/workflow/js/update_runner.cjs index 55be23995b..ba20cfa010 100644 --- a/pkg/workflow/js/update_runner.cjs +++ b/pkg/workflow/js/update_runner.cjs @@ -298,7 +298,7 @@ function createRenderStagedItem(config) { const { entityName, numberField, targetLabel, currentTargetText, includeOperation = false } = config; return function renderStagedItem(item, index) { - let content = `### ${entityName} Update ${index + 1}\n`; + let content = `#### ${entityName} Update ${index + 1}\n`; if (item[numberField]) { content += `**${targetLabel}** #${item[numberField]}\n\n`; } else { diff --git a/pkg/workflow/js/update_runner.test.cjs b/pkg/workflow/js/update_runner.test.cjs index 08befe7728..14f8199ead 100644 --- a/pkg/workflow/js/update_runner.test.cjs +++ b/pkg/workflow/js/update_runner.test.cjs @@ -406,7 +406,7 @@ describe("update_runner.cjs", () => { const result = render({ issue_number: 123, title: "New Title" }, 0); - expect(result).toContain("### Issue Update 1"); + expect(result).toContain("#### Issue Update 1"); expect(result).toContain("**Target Issue:** #123"); expect(result).toContain("**New Title:** New Title"); }); @@ -422,7 +422,7 @@ describe("update_runner.cjs", () => { const result = render({ title: "New Title" }, 0); - expect(result).toContain("### Issue Update 1"); + expect(result).toContain("#### Issue Update 1"); expect(result).toContain("**Target:** Current issue"); expect(result).toContain("**New Title:** New Title"); }); @@ -499,7 +499,7 @@ describe("update_runner.cjs", () => { const result = render({ title: "Title" }, 4); - expect(result).toContain("### Issue Update 5"); + expect(result).toContain("#### Issue Update 5"); }); });