From 61a99607fa12758ca15a4c9962c69cfa08f21b83 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 4 Dec 2025 19:10:06 +0000 Subject: [PATCH 1/3] Initial plan From e9417b663027ea62bfffe57c9f1c7487ab0e56e0 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 4 Dec 2025 19:33:07 +0000 Subject: [PATCH 2/3] fix: Correct actions/setup-node@v6 SHA and update test for 23 pins Co-authored-by: mrjf <180956+mrjf@users.noreply.github.com> --- .github/aw/actions-lock.json | 2 +- .github/workflows/ai-triage-campaign.lock.yml | 26 +- .github/workflows/archie.lock.yml | 18 +- .github/workflows/artifacts-summary.lock.yml | 30 +- .github/workflows/audit-workflows.lock.yml | 24 +- .github/workflows/blog-auditor.lock.yml | 24 +- .github/workflows/brave.lock.yml | 18 +- .../breaking-change-checker.lock.yml | 30 +- .github/workflows/changeset.lock.yml | 18 +- .github/workflows/ci-doctor.lock.yml | 30 +- .../cli-consistency-checker.lock.yml | 30 +- .../workflows/cli-version-checker.lock.yml | 24 +- .github/workflows/cloclo.lock.yml | 28 +- .../workflows/close-old-discussions.lock.yml | 16 +- .../commit-changes-analyzer.lock.yml | 24 +- .../workflows/copilot-agent-analysis.lock.yml | 24 +- .../copilot-pr-nlp-analysis.lock.yml | 30 +- .../copilot-pr-prompt-analysis.lock.yml | 30 +- .../copilot-session-insights.lock.yml | 24 +- .github/workflows/craft.lock.yml | 26 +- .../daily-assign-issue-to-user.lock.yml | 1274 ++--------------- .github/workflows/daily-code-metrics.lock.yml | 24 +- .../daily-copilot-token-report.lock.yml | 30 +- .github/workflows/daily-doc-updater.lock.yml | 28 +- .github/workflows/daily-fact.lock.yml | 12 +- .github/workflows/daily-file-diet.lock.yml | 24 +- .../workflows/daily-firewall-report.lock.yml | 30 +- .../workflows/daily-issues-report.lock.yml | 28 +- .../daily-malicious-code-scan.lock.yml | 22 +- .../daily-multi-device-docs-tester.lock.yml | 24 +- .github/workflows/daily-news.lock.yml | 30 +- .../daily-performance-summary.lock.yml | 28 +- .../workflows/daily-repo-chronicle.lock.yml | 30 +- .github/workflows/daily-team-status.lock.yml | 30 +- .github/workflows/deep-report.lock.yml | 24 +- .../workflows/dependabot-go-checker.lock.yml | 30 +- .github/workflows/dev-hawk.lock.yml | 18 +- .github/workflows/dev.lock.yml | 10 +- .../developer-docs-consolidator.lock.yml | 40 +- .github/workflows/dictation-prompt.lock.yml | 34 +- .github/workflows/docs-noob-tester.lock.yml | 30 +- .../duplicate-code-detector.lock.yml | 24 +- .../example-permissions-warning.lock.yml | 16 +- .../example-workflow-analyzer.lock.yml | 24 +- .github/workflows/firewall-escape.lock.yml | 16 +- .github/workflows/firewall.lock.yml | 16 +- .../github-mcp-structural-analysis.lock.yml | 24 +- .../github-mcp-tools-report.lock.yml | 40 +- .../workflows/glossary-maintainer.lock.yml | 34 +- .github/workflows/go-fan.lock.yml | 24 +- .github/workflows/go-logger.lock.yml | 30 +- .../workflows/go-pattern-detector.lock.yml | 24 +- .github/workflows/grumpy-reviewer.lock.yml | 26 +- .../workflows/instructions-janitor.lock.yml | 28 +- .github/workflows/issue-arborist.lock.yml | 24 +- .github/workflows/issue-monster.lock.yml | 22 +- .github/workflows/issue-triage-agent.lock.yml | 18 +- .github/workflows/lockfile-stats.lock.yml | 24 +- .github/workflows/mcp-inspector.lock.yml | 32 +- .github/workflows/mergefest.lock.yml | 26 +- .../workflows/notion-issue-summary.lock.yml | 18 +- .github/workflows/org-health-report.lock.yml | 30 +- .github/workflows/pdf-summary.lock.yml | 18 +- .github/workflows/plan.lock.yml | 34 +- .github/workflows/poem-bot.lock.yml | 74 +- .../workflows/pr-nitpick-reviewer.lock.yml | 38 +- .../prompt-clustering-analysis.lock.yml | 24 +- .github/workflows/python-data-charts.lock.yml | 30 +- .github/workflows/q.lock.yml | 34 +- .github/workflows/release.lock.yml | 18 +- .github/workflows/repo-tree-map.lock.yml | 30 +- .../repository-quality-improver.lock.yml | 30 +- .github/workflows/research.lock.yml | 30 +- .github/workflows/safe-output-health.lock.yml | 24 +- .../schema-consistency-checker.lock.yml | 24 +- .github/workflows/scout.lock.yml | 12 +- .github/workflows/security-fix-pr.lock.yml | 28 +- .../semantic-function-refactor.lock.yml | 24 +- .github/workflows/smoke-claude.lock.yml | 24 +- .github/workflows/smoke-codex.lock.yml | 24 +- .../smoke-copilot-no-firewall.lock.yml | 24 +- .../smoke-copilot-playwright.lock.yml | 30 +- .github/workflows/smoke-copilot.lock.yml | 30 +- .github/workflows/smoke-detector.lock.yml | 24 +- .../smoke-srt-custom-config.lock.yml | 10 +- .github/workflows/smoke-srt.lock.yml | 12 +- .../workflows/stale-repo-identifier.lock.yml | 36 +- .../workflows/static-analysis-report.lock.yml | 24 +- .github/workflows/super-linter.lock.yml | 30 +- .../workflows/technical-doc-writer.lock.yml | 36 +- .../workflows/test-python-safe-input.lock.yml | 22 +- .github/workflows/tidy.lock.yml | 44 +- .github/workflows/typist.lock.yml | 24 +- .github/workflows/unbloat-docs.lock.yml | 30 +- .github/workflows/video-analyzer.lock.yml | 30 +- .../workflows/weekly-issue-summary.lock.yml | 30 +- pkg/workflow/.github/aw/actions-lock.json | 2 +- pkg/workflow/action_pins_test.go | 6 +- pkg/workflow/data/action_pins.json | 2 +- 99 files changed, 1841 insertions(+), 1921 deletions(-) diff --git a/.github/aw/actions-lock.json b/.github/aw/actions-lock.json index 65fb4f6b89..7bce5d445a 100644 --- a/.github/aw/actions-lock.json +++ b/.github/aw/actions-lock.json @@ -48,7 +48,7 @@ "actions/setup-node@v6": { "repo": "actions/setup-node", "version": "v6", - "sha": "2028fbc5c25fe9cf00d9f06a71cc4710d4507903" + "sha": "395ad3262231945c25e8478fd5baf05154b1d79f" }, "actions/setup-python@v5": { "repo": "actions/setup-python", diff --git a/.github/workflows/ai-triage-campaign.lock.yml b/.github/workflows/ai-triage-campaign.lock.yml index 8d54048821..2902ad16bd 100644 --- a/.github/workflows/ai-triage-campaign.lock.yml +++ b/.github/workflows/ai-triage-campaign.lock.yml @@ -161,8 +161,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -382,7 +382,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -4628,7 +4628,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -4860,7 +4864,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -5423,7 +5429,9 @@ jobs: content += `**Custom Agent:** ${item.custom_agent}\n`; } if (item.custom_instructions) { - content += `**Custom Instructions:** ${item.custom_instructions.substring(0, 100)}${item.custom_instructions.length > 100 ? "..." : ""}\n`; + content += `**Custom Instructions:** ${item.custom_instructions.substring(0, 100)}${ + item.custom_instructions.length > 100 ? "..." : "" + }\n`; } content += "\n"; return content; @@ -6236,7 +6244,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -6884,7 +6892,9 @@ jobs: ` • Create the project manually at https://github.com/orgs/${owner}/projects/new.\n` + ` • Or supply a PAT with project scope via PROJECT_GITHUB_TOKEN.\n` + ` • Ensure the workflow grants projects: write.\n\n` + - `${usingCustomToken ? "PROJECT_GITHUB_TOKEN is set but lacks access." : "Using default GITHUB_TOKEN without project create rights."}` + `${ + usingCustomToken ? "PROJECT_GITHUB_TOKEN is set but lacks access." : "Using default GITHUB_TOKEN without project create rights." + }` ); } else { core.error(`Failed to manage project: ${error.message}`); diff --git a/.github/workflows/archie.lock.yml b/.github/workflows/archie.lock.yml index 6419b48c55..b51c23d370 100644 --- a/.github/workflows/archie.lock.yml +++ b/.github/workflows/archie.lock.yml @@ -267,8 +267,8 @@ # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd # - actions/setup-go@v5 (d35c59abb061a4a6fb18e82ac0862c26744d6ab5) # https://github.com/actions/setup-go/commit/d35c59abb061a4a6fb18e82ac0862c26744d6ab5 -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/setup-python@v5 (a26af69be951a213d495a4c3e4e4022e16d87065) # https://github.com/actions/setup-python/commit/a26af69be951a213d495a4c3e4e4022e16d87065 # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) @@ -1884,7 +1884,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -6280,7 +6280,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -6512,7 +6516,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -7229,7 +7235,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/artifacts-summary.lock.yml b/.github/workflows/artifacts-summary.lock.yml index 4cae873055..5f1453be8e 100644 --- a/.github/workflows/artifacts-summary.lock.yml +++ b/.github/workflows/artifacts-summary.lock.yml @@ -223,8 +223,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -439,7 +439,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -4772,7 +4772,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -5004,7 +5008,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -5988,7 +5994,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -6140,7 +6148,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -6178,7 +6188,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -6464,7 +6476,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/audit-workflows.lock.yml b/.github/workflows/audit-workflows.lock.yml index af14c9de5e..f9b52f629a 100644 --- a/.github/workflows/audit-workflows.lock.yml +++ b/.github/workflows/audit-workflows.lock.yml @@ -837,8 +837,8 @@ # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd # - actions/setup-go@v5 (d35c59abb061a4a6fb18e82ac0862c26744d6ab5) # https://github.com/actions/setup-go/commit/d35c59abb061a4a6fb18e82ac0862c26744d6ab5 -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -1123,7 +1123,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -5760,7 +5760,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -6714,7 +6716,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -6866,7 +6870,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -6904,7 +6910,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -7177,7 +7185,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/blog-auditor.lock.yml b/.github/workflows/blog-auditor.lock.yml index 000f805db4..35a6428081 100644 --- a/.github/workflows/blog-auditor.lock.yml +++ b/.github/workflows/blog-auditor.lock.yml @@ -434,8 +434,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -652,7 +652,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -4877,7 +4877,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -5831,7 +5833,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -5983,7 +5987,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -6021,7 +6027,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -6294,7 +6302,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/brave.lock.yml b/.github/workflows/brave.lock.yml index 464d593981..588425bdc3 100644 --- a/.github/workflows/brave.lock.yml +++ b/.github/workflows/brave.lock.yml @@ -181,8 +181,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -1767,7 +1767,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -6071,7 +6071,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -6303,7 +6307,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -7020,7 +7026,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/breaking-change-checker.lock.yml b/.github/workflows/breaking-change-checker.lock.yml index d5ced51a0a..25488f2a23 100644 --- a/.github/workflows/breaking-change-checker.lock.yml +++ b/.github/workflows/breaking-change-checker.lock.yml @@ -246,8 +246,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -465,7 +465,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -4852,7 +4852,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -5084,7 +5088,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -5923,7 +5929,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -6013,7 +6021,9 @@ jobs: } const temporaryId = createIssueItem.temporary_id || generateTemporaryId(); core.info( - `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${createIssueItem.body.length}, temporaryId=${temporaryId}, repo=${itemRepo}` + `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${ + createIssueItem.body.length + }, temporaryId=${temporaryId}, repo=${itemRepo}` ); core.info(`Debug: createIssueItem.parent = ${JSON.stringify(createIssueItem.parent)}`); core.info(`Debug: parentIssueNumber from context = ${JSON.stringify(parentIssueNumber)}`); @@ -6185,7 +6195,9 @@ jobs: core.info("✓ Added comment to parent issue #" + effectiveParentIssueNumber + " (sub-issue linking not available)"); } catch (commentError) { core.info( - `Warning: Could not add comment to parent issue: ${commentError instanceof Error ? commentError.message : String(commentError)}` + `Warning: Could not add comment to parent issue: ${ + commentError instanceof Error ? commentError.message : String(commentError) + }` ); } } @@ -6876,7 +6888,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/changeset.lock.yml b/.github/workflows/changeset.lock.yml index 49b2fce871..3b54563ac5 100644 --- a/.github/workflows/changeset.lock.yml +++ b/.github/workflows/changeset.lock.yml @@ -321,8 +321,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -1312,7 +1312,7 @@ jobs: CODEX_API_KEY: ${{ secrets.CODEX_API_KEY }} OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -5471,7 +5471,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -6653,7 +6655,9 @@ jobs: const patchStats = fs.readFileSync("/tmp/gh-aw/aw.patch", "utf8"); if (patchStats.trim()) { content += `**Changes:** Patch file exists with ${patchStats.split("\n").length} lines\n\n`; - content += `
Show patch preview\n\n\`\`\`diff\n${patchStats.slice(0, 2000)}${patchStats.length > 2000 ? "\n... (truncated)" : ""}\n\`\`\`\n\n
\n\n`; + content += `
Show patch preview\n\n\`\`\`diff\n${patchStats.slice(0, 2000)}${ + patchStats.length > 2000 ? "\n... (truncated)" : "" + }\n\`\`\`\n\n
\n\n`; } else { content += `**Changes:** No changes (empty patch)\n\n`; } @@ -6745,7 +6749,9 @@ jobs: await exec.exec(`git rev-parse --verify origin/${branchName}`); } catch (verifyError) { core.setFailed( - `Branch ${branchName} does not exist on origin, can't push to it: ${verifyError instanceof Error ? verifyError.message : String(verifyError)}` + `Branch ${branchName} does not exist on origin, can't push to it: ${ + verifyError instanceof Error ? verifyError.message : String(verifyError) + }` ); return; } diff --git a/.github/workflows/ci-doctor.lock.yml b/.github/workflows/ci-doctor.lock.yml index c411bacc17..c2096a9eb1 100644 --- a/.github/workflows/ci-doctor.lock.yml +++ b/.github/workflows/ci-doctor.lock.yml @@ -259,8 +259,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -1119,7 +1119,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -5548,7 +5548,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -5780,7 +5784,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -6619,7 +6625,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -6709,7 +6717,9 @@ jobs: } const temporaryId = createIssueItem.temporary_id || generateTemporaryId(); core.info( - `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${createIssueItem.body.length}, temporaryId=${temporaryId}, repo=${itemRepo}` + `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${ + createIssueItem.body.length + }, temporaryId=${temporaryId}, repo=${itemRepo}` ); core.info(`Debug: createIssueItem.parent = ${JSON.stringify(createIssueItem.parent)}`); core.info(`Debug: parentIssueNumber from context = ${JSON.stringify(parentIssueNumber)}`); @@ -6881,7 +6891,9 @@ jobs: core.info("✓ Added comment to parent issue #" + effectiveParentIssueNumber + " (sub-issue linking not available)"); } catch (commentError) { core.info( - `Warning: Could not add comment to parent issue: ${commentError instanceof Error ? commentError.message : String(commentError)}` + `Warning: Could not add comment to parent issue: ${ + commentError instanceof Error ? commentError.message : String(commentError) + }` ); } } @@ -7098,7 +7110,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/cli-consistency-checker.lock.yml b/.github/workflows/cli-consistency-checker.lock.yml index 6d0566bd7d..44be9d34c0 100644 --- a/.github/workflows/cli-consistency-checker.lock.yml +++ b/.github/workflows/cli-consistency-checker.lock.yml @@ -245,8 +245,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -465,7 +465,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -4851,7 +4851,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -5083,7 +5087,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -5914,7 +5920,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -6004,7 +6012,9 @@ jobs: } const temporaryId = createIssueItem.temporary_id || generateTemporaryId(); core.info( - `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${createIssueItem.body.length}, temporaryId=${temporaryId}, repo=${itemRepo}` + `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${ + createIssueItem.body.length + }, temporaryId=${temporaryId}, repo=${itemRepo}` ); core.info(`Debug: createIssueItem.parent = ${JSON.stringify(createIssueItem.parent)}`); core.info(`Debug: parentIssueNumber from context = ${JSON.stringify(parentIssueNumber)}`); @@ -6176,7 +6186,9 @@ jobs: core.info("✓ Added comment to parent issue #" + effectiveParentIssueNumber + " (sub-issue linking not available)"); } catch (commentError) { core.info( - `Warning: Could not add comment to parent issue: ${commentError instanceof Error ? commentError.message : String(commentError)}` + `Warning: Could not add comment to parent issue: ${ + commentError instanceof Error ? commentError.message : String(commentError) + }` ); } } @@ -6393,7 +6405,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/cli-version-checker.lock.yml b/.github/workflows/cli-version-checker.lock.yml index 76735614f2..a25a3900b1 100644 --- a/.github/workflows/cli-version-checker.lock.yml +++ b/.github/workflows/cli-version-checker.lock.yml @@ -391,8 +391,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -632,7 +632,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -4827,7 +4827,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -5658,7 +5660,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -5748,7 +5752,9 @@ jobs: } const temporaryId = createIssueItem.temporary_id || generateTemporaryId(); core.info( - `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${createIssueItem.body.length}, temporaryId=${temporaryId}, repo=${itemRepo}` + `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${ + createIssueItem.body.length + }, temporaryId=${temporaryId}, repo=${itemRepo}` ); core.info(`Debug: createIssueItem.parent = ${JSON.stringify(createIssueItem.parent)}`); core.info(`Debug: parentIssueNumber from context = ${JSON.stringify(parentIssueNumber)}`); @@ -5920,7 +5926,9 @@ jobs: core.info("✓ Added comment to parent issue #" + effectiveParentIssueNumber + " (sub-issue linking not available)"); } catch (commentError) { core.info( - `Warning: Could not add comment to parent issue: ${commentError instanceof Error ? commentError.message : String(commentError)}` + `Warning: Could not add comment to parent issue: ${ + commentError instanceof Error ? commentError.message : String(commentError) + }` ); } } @@ -6137,7 +6145,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/cloclo.lock.yml b/.github/workflows/cloclo.lock.yml index 344a14cd72..9cfdc1ec3b 100644 --- a/.github/workflows/cloclo.lock.yml +++ b/.github/workflows/cloclo.lock.yml @@ -343,8 +343,8 @@ # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd # - actions/setup-go@v5 (d35c59abb061a4a6fb18e82ac0862c26744d6ab5) # https://github.com/actions/setup-go/commit/d35c59abb061a4a6fb18e82ac0862c26744d6ab5 -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/setup-python@v5 (a26af69be951a213d495a4c3e4e4022e16d87065) # https://github.com/actions/setup-python/commit/a26af69be951a213d495a4c3e4e4022e16d87065 # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) @@ -2019,7 +2019,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -6291,7 +6291,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -7055,7 +7057,9 @@ jobs: const summary = truncated ? `Show patch preview (${Math.min(maxLines, lines.length)} of ${lines.length} lines)` : `Show patch (${lines.length} lines)`; - return `\n\n
${summary}\n\n\`\`\`diff\n${preview}${truncated ? "\n... (truncated)" : ""}\n\`\`\`\n\n
`; + return `\n\n
${summary}\n\n\`\`\`diff\n${preview}${ + truncated ? "\n... (truncated)" : "" + }\n\`\`\`\n\n
`; } async function main() { core.setOutput("pull_request_number", ""); @@ -7202,7 +7206,9 @@ jobs: const patchStats = fs.readFileSync("/tmp/gh-aw/aw.patch", "utf8"); if (patchStats.trim()) { summaryContent += `**Changes:** Patch file exists with ${patchStats.split("\n").length} lines\n\n`; - summaryContent += `
Show patch preview\n\n\`\`\`diff\n${patchStats.slice(0, 2000)}${patchStats.length > 2000 ? "\n... (truncated)" : ""}\n\`\`\`\n\n
\n\n`; + summaryContent += `
Show patch preview\n\n\`\`\`diff\n${patchStats.slice(0, 2000)}${ + patchStats.length > 2000 ? "\n... (truncated)" : "" + }\n\`\`\`\n\n
\n\n`; } else { summaryContent += `**Changes:** No changes (empty patch)\n\n`; } @@ -7370,7 +7376,9 @@ jobs: return; } catch (issueError) { core.setFailed( - `Failed to push and failed to create fallback issue. Push error: ${pushError instanceof Error ? pushError.message : String(pushError)}. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` + `Failed to push and failed to create fallback issue. Push error: ${ + pushError instanceof Error ? pushError.message : String(pushError) + }. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` ); return; } @@ -7467,7 +7475,9 @@ jobs: .write(); } catch (issueError) { core.setFailed( - `Failed to create both pull request and fallback issue. PR error: ${prError instanceof Error ? prError.message : String(prError)}. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` + `Failed to create both pull request and fallback issue. PR error: ${ + prError instanceof Error ? prError.message : String(prError) + }. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` ); return; } @@ -7643,7 +7653,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/close-old-discussions.lock.yml b/.github/workflows/close-old-discussions.lock.yml index 56b5490595..ee31697faa 100644 --- a/.github/workflows/close-old-discussions.lock.yml +++ b/.github/workflows/close-old-discussions.lock.yml @@ -394,8 +394,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -651,7 +651,7 @@ jobs: CODEX_API_KEY: ${{ secrets.CODEX_API_KEY }} OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -4741,7 +4741,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -5052,7 +5054,9 @@ jobs: const requiredCategory = process.env.GH_AW_CLOSE_DISCUSSION_REQUIRED_CATEGORY || ""; const target = process.env.GH_AW_CLOSE_DISCUSSION_TARGET || "triggering"; core.info( - `Configuration: requiredLabels=${requiredLabels.join(",")}, requiredTitlePrefix=${requiredTitlePrefix}, requiredCategory=${requiredCategory}, target=${target}` + `Configuration: requiredLabels=${requiredLabels.join( + "," + )}, requiredTitlePrefix=${requiredTitlePrefix}, requiredCategory=${requiredCategory}, target=${target}` ); const isDiscussionContext = context.eventName === "discussion" || context.eventName === "discussion_comment"; if (isStaged) { @@ -5831,7 +5835,7 @@ jobs: CODEX_API_KEY: ${{ secrets.CODEX_API_KEY }} OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/commit-changes-analyzer.lock.yml b/.github/workflows/commit-changes-analyzer.lock.yml index 25da8462e1..25bc394d29 100644 --- a/.github/workflows/commit-changes-analyzer.lock.yml +++ b/.github/workflows/commit-changes-analyzer.lock.yml @@ -391,8 +391,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -612,7 +612,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -4758,7 +4758,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -5706,7 +5708,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -5858,7 +5862,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -5896,7 +5902,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -6169,7 +6177,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/copilot-agent-analysis.lock.yml b/.github/workflows/copilot-agent-analysis.lock.yml index 908ad105c2..8bdfaae47c 100644 --- a/.github/workflows/copilot-agent-analysis.lock.yml +++ b/.github/workflows/copilot-agent-analysis.lock.yml @@ -712,8 +712,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -961,7 +961,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -5440,7 +5440,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -6390,7 +6392,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -6542,7 +6546,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -6580,7 +6586,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -6853,7 +6861,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/copilot-pr-nlp-analysis.lock.yml b/.github/workflows/copilot-pr-nlp-analysis.lock.yml index efba6c7d09..ad8bdbf479 100644 --- a/.github/workflows/copilot-pr-nlp-analysis.lock.yml +++ b/.github/workflows/copilot-pr-nlp-analysis.lock.yml @@ -970,8 +970,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -1251,7 +1251,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -6323,7 +6323,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -6562,7 +6566,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -7513,7 +7519,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -7665,7 +7673,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -7703,7 +7713,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -7976,7 +7988,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/copilot-pr-prompt-analysis.lock.yml b/.github/workflows/copilot-pr-prompt-analysis.lock.yml index bdfd286dae..349b1552fa 100644 --- a/.github/workflows/copilot-pr-prompt-analysis.lock.yml +++ b/.github/workflows/copilot-pr-prompt-analysis.lock.yml @@ -528,8 +528,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -777,7 +777,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -5412,7 +5412,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -5644,7 +5648,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -6594,7 +6600,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -6746,7 +6754,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -6784,7 +6794,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -7057,7 +7069,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/copilot-session-insights.lock.yml b/.github/workflows/copilot-session-insights.lock.yml index dd9b2608c8..eb506ad061 100644 --- a/.github/workflows/copilot-session-insights.lock.yml +++ b/.github/workflows/copilot-session-insights.lock.yml @@ -1392,8 +1392,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -1665,7 +1665,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -6849,7 +6849,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -7800,7 +7802,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -7952,7 +7956,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -7990,7 +7996,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -8263,7 +8271,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/craft.lock.yml b/.github/workflows/craft.lock.yml index 0294080706..48e772fbcf 100644 --- a/.github/workflows/craft.lock.yml +++ b/.github/workflows/craft.lock.yml @@ -339,8 +339,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -1930,7 +1930,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -6417,7 +6417,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -6649,7 +6653,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -7374,7 +7380,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -7905,7 +7911,9 @@ jobs: const patchStats = fs.readFileSync("/tmp/gh-aw/aw.patch", "utf8"); if (patchStats.trim()) { content += `**Changes:** Patch file exists with ${patchStats.split("\n").length} lines\n\n`; - content += `
Show patch preview\n\n\`\`\`diff\n${patchStats.slice(0, 2000)}${patchStats.length > 2000 ? "\n... (truncated)" : ""}\n\`\`\`\n\n
\n\n`; + content += `
Show patch preview\n\n\`\`\`diff\n${patchStats.slice(0, 2000)}${ + patchStats.length > 2000 ? "\n... (truncated)" : "" + }\n\`\`\`\n\n
\n\n`; } else { content += `**Changes:** No changes (empty patch)\n\n`; } @@ -7997,7 +8005,9 @@ jobs: await exec.exec(`git rev-parse --verify origin/${branchName}`); } catch (verifyError) { core.setFailed( - `Branch ${branchName} does not exist on origin, can't push to it: ${verifyError instanceof Error ? verifyError.message : String(verifyError)}` + `Branch ${branchName} does not exist on origin, can't push to it: ${ + verifyError instanceof Error ? verifyError.message : String(verifyError) + }` ); return; } diff --git a/.github/workflows/daily-assign-issue-to-user.lock.yml b/.github/workflows/daily-assign-issue-to-user.lock.yml index ac3becb2a8..df53734b3f 100644 --- a/.github/workflows/daily-assign-issue-to-user.lock.yml +++ b/.github/workflows/daily-assign-issue-to-user.lock.yml @@ -89,8 +89,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -908,7 +908,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -1101,1092 +1101,11 @@ jobs: } } EOF - cat > /tmp/gh-aw/safeoutputs/safe_outputs_config.cjs << 'EOF_CONFIG' - const fs = require("fs"); - const path = require("path"); - function loadConfig(server) { - const configPath = process.env.GH_AW_SAFE_OUTPUTS_CONFIG_PATH || "/tmp/gh-aw/safeoutputs/config.json"; - let safeOutputsConfigRaw; - server.debug(`Reading config from file: ${configPath}`); - try { - if (fs.existsSync(configPath)) { - server.debug(`Config file exists at: ${configPath}`); - const configFileContent = fs.readFileSync(configPath, "utf8"); - server.debug(`Config file content length: ${configFileContent.length} characters`); - server.debug(`Config file read successfully, attempting to parse JSON`); - safeOutputsConfigRaw = JSON.parse(configFileContent); - server.debug(`Successfully parsed config from file with ${Object.keys(safeOutputsConfigRaw).length} configuration keys`); - } else { - server.debug(`Config file does not exist at: ${configPath}`); - server.debug(`Using minimal default configuration`); - safeOutputsConfigRaw = {}; - } - } catch (error) { - server.debug(`Error reading config file: ${error instanceof Error ? error.message : String(error)}`); - server.debug(`Falling back to empty configuration`); - safeOutputsConfigRaw = {}; - } - const safeOutputsConfig = Object.fromEntries(Object.entries(safeOutputsConfigRaw).map(([k, v]) => [k.replace(/-/g, "_"), v])); - server.debug(`Final processed config: ${JSON.stringify(safeOutputsConfig)}`); - const outputFile = process.env.GH_AW_SAFE_OUTPUTS || "/tmp/gh-aw/safeoutputs/outputs.jsonl"; - if (!process.env.GH_AW_SAFE_OUTPUTS) { - server.debug(`GH_AW_SAFE_OUTPUTS not set, using default: ${outputFile}`); - } - const outputDir = path.dirname(outputFile); - if (!fs.existsSync(outputDir)) { - server.debug(`Creating output directory: ${outputDir}`); - fs.mkdirSync(outputDir, { recursive: true }); - } - return { - config: safeOutputsConfig, - outputFile: outputFile, - }; - } - module.exports = { loadConfig }; - EOF_CONFIG - cat > /tmp/gh-aw/safeoutputs/safe_outputs_append.cjs << 'EOF_APPEND' - const fs = require("fs"); - function createAppendFunction(outputFile) { - return function appendSafeOutput(entry) { - if (!outputFile) throw new Error("No output file configured"); - entry.type = entry.type.replace(/-/g, "_"); - const jsonLine = JSON.stringify(entry) + "\n"; - try { - fs.appendFileSync(outputFile, jsonLine); - } catch (error) { - throw new Error(`Failed to write to output file: ${error instanceof Error ? error.message : String(error)}`); - } - }; - } - module.exports = { createAppendFunction }; - EOF_APPEND - cat > /tmp/gh-aw/safeoutputs/safe_outputs_handlers.cjs << 'EOF_HANDLERS' - const fs = require("fs"); - const path = require("path"); - const crypto = require("crypto"); - const { normalizeBranchName } = require("./normalize_branch_name.cjs"); - const { estimateTokens } = require("./estimate_tokens.cjs"); - const { writeLargeContentToFile } = require("./write_large_content_to_file.cjs"); - const { getCurrentBranch } = require("./get_current_branch.cjs"); - const { getBaseBranch } = require("./get_base_branch.cjs"); - const { generateGitPatch } = require("./generate_git_patch.cjs"); - function createHandlers(server, appendSafeOutput) { - const defaultHandler = type => args => { - const entry = { ...(args || {}), type }; - let largeContent = null; - let largeFieldName = null; - const TOKEN_THRESHOLD = 16000; - for (const [key, value] of Object.entries(entry)) { - if (typeof value === "string") { - const tokens = estimateTokens(value); - if (tokens > TOKEN_THRESHOLD) { - largeContent = value; - largeFieldName = key; - server.debug(`Field '${key}' has ${tokens} tokens (exceeds ${TOKEN_THRESHOLD})`); - break; - } - } - } - if (largeContent && largeFieldName) { - const fileInfo = writeLargeContentToFile(largeContent); - entry[largeFieldName] = `[Content too large, saved to file: ${fileInfo.filename}]`; - appendSafeOutput(entry); - return { - content: [ - { - type: "text", - text: JSON.stringify(fileInfo), - }, - ], - }; - } - appendSafeOutput(entry); - return { - content: [ - { - type: "text", - text: JSON.stringify({ result: "success" }), - }, - ], - }; - }; - const uploadAssetHandler = args => { - const branchName = process.env.GH_AW_ASSETS_BRANCH; - if (!branchName) throw new Error("GH_AW_ASSETS_BRANCH not set"); - const normalizedBranchName = normalizeBranchName(branchName); - const { path: filePath } = args; - const absolutePath = path.resolve(filePath); - const workspaceDir = process.env.GITHUB_WORKSPACE || process.cwd(); - const tmpDir = "/tmp"; - const isInWorkspace = absolutePath.startsWith(path.resolve(workspaceDir)); - const isInTmp = absolutePath.startsWith(tmpDir); - if (!isInWorkspace && !isInTmp) { - throw new Error( - `File path must be within workspace directory (${workspaceDir}) or /tmp directory. ` + - `Provided path: ${filePath} (resolved to: ${absolutePath})` - ); - } - if (!fs.existsSync(filePath)) { - throw new Error(`File not found: ${filePath}`); - } - const stats = fs.statSync(filePath); - const sizeBytes = stats.size; - const sizeKB = Math.ceil(sizeBytes / 1024); - const maxSizeKB = process.env.GH_AW_ASSETS_MAX_SIZE_KB ? parseInt(process.env.GH_AW_ASSETS_MAX_SIZE_KB, 10) : 10240; - if (sizeKB > maxSizeKB) { - throw new Error(`File size ${sizeKB} KB exceeds maximum allowed size ${maxSizeKB} KB`); - } - const ext = path.extname(filePath).toLowerCase(); - const allowedExts = process.env.GH_AW_ASSETS_ALLOWED_EXTS - ? process.env.GH_AW_ASSETS_ALLOWED_EXTS.split(",").map(ext => ext.trim()) - : [ - ".png", - ".jpg", - ".jpeg", - ]; - if (!allowedExts.includes(ext)) { - throw new Error(`File extension '${ext}' is not allowed. Allowed extensions: ${allowedExts.join(", ")}`); - } - const assetsDir = "/tmp/gh-aw/safeoutputs/assets"; - if (!fs.existsSync(assetsDir)) { - fs.mkdirSync(assetsDir, { recursive: true }); - } - const fileContent = fs.readFileSync(filePath); - const sha = crypto.createHash("sha256").update(fileContent).digest("hex"); - const fileName = path.basename(filePath); - const fileExt = path.extname(fileName).toLowerCase(); - const targetPath = path.join(assetsDir, fileName); - fs.copyFileSync(filePath, targetPath); - const targetFileName = (sha + fileExt).toLowerCase(); - const githubServer = process.env.GITHUB_SERVER_URL || "https://github.com"; - const repo = process.env.GITHUB_REPOSITORY || "owner/repo"; - const url = `${githubServer.replace("github.com", "raw.githubusercontent.com")}/${repo}/${normalizedBranchName}/${targetFileName}`; - const entry = { - type: "upload_asset", - path: filePath, - fileName: fileName, - sha: sha, - size: sizeBytes, - url: url, - targetFileName: targetFileName, - }; - appendSafeOutput(entry); - return { - content: [ - { - type: "text", - text: JSON.stringify({ result: url }), - }, - ], - }; - }; - const createPullRequestHandler = args => { - const entry = { ...args, type: "create_pull_request" }; - const baseBranch = getBaseBranch(); - if (!entry.branch || entry.branch.trim() === "" || entry.branch === baseBranch) { - const detectedBranch = getCurrentBranch(); - if (entry.branch === baseBranch) { - server.debug(`Branch equals base branch (${baseBranch}), detecting actual working branch: ${detectedBranch}`); - } else { - server.debug(`Using current branch for create_pull_request: ${detectedBranch}`); - } - entry.branch = detectedBranch; - } - server.debug(`Generating patch for create_pull_request with branch: ${entry.branch}`); - const patchResult = generateGitPatch(entry.branch); - if (!patchResult.success) { - const errorMsg = patchResult.error || "Failed to generate patch"; - server.debug(`Patch generation failed: ${errorMsg}`); - throw new Error(errorMsg); - } - server.debug(`Patch generated successfully: ${patchResult.patchPath} (${patchResult.patchSize} bytes, ${patchResult.patchLines} lines)`); - appendSafeOutput(entry); - return { - content: [ - { - type: "text", - text: JSON.stringify({ - result: "success", - patch: { - path: patchResult.patchPath, - size: patchResult.patchSize, - lines: patchResult.patchLines, - }, - }), - }, - ], - }; - }; - const pushToPullRequestBranchHandler = args => { - const entry = { ...args, type: "push_to_pull_request_branch" }; - const baseBranch = getBaseBranch(); - if (!entry.branch || entry.branch.trim() === "" || entry.branch === baseBranch) { - const detectedBranch = getCurrentBranch(); - if (entry.branch === baseBranch) { - server.debug(`Branch equals base branch (${baseBranch}), detecting actual working branch: ${detectedBranch}`); - } else { - server.debug(`Using current branch for push_to_pull_request_branch: ${detectedBranch}`); - } - entry.branch = detectedBranch; - } - server.debug(`Generating patch for push_to_pull_request_branch with branch: ${entry.branch}`); - const patchResult = generateGitPatch(entry.branch); - if (!patchResult.success) { - const errorMsg = patchResult.error || "Failed to generate patch"; - server.debug(`Patch generation failed: ${errorMsg}`); - throw new Error(errorMsg); - } - server.debug(`Patch generated successfully: ${patchResult.patchPath} (${patchResult.patchSize} bytes, ${patchResult.patchLines} lines)`); - appendSafeOutput(entry); - return { - content: [ - { - type: "text", - text: JSON.stringify({ - result: "success", - patch: { - path: patchResult.patchPath, - size: patchResult.patchSize, - lines: patchResult.patchLines, - }, - }), - }, - ], - }; - }; - return { - defaultHandler, - uploadAssetHandler, - createPullRequestHandler, - pushToPullRequestBranchHandler, - }; - } - module.exports = { createHandlers }; - EOF_HANDLERS - cat > /tmp/gh-aw/safeoutputs/safe_outputs_tools_loader.cjs << 'EOF_TOOLS_LOADER' - const fs = require("fs"); - function loadTools(server) { - const toolsPath = process.env.GH_AW_SAFE_OUTPUTS_TOOLS_PATH || "/tmp/gh-aw/safeoutputs/tools.json"; - let ALL_TOOLS = []; - server.debug(`Reading tools from file: ${toolsPath}`); - try { - if (fs.existsSync(toolsPath)) { - server.debug(`Tools file exists at: ${toolsPath}`); - const toolsFileContent = fs.readFileSync(toolsPath, "utf8"); - server.debug(`Tools file content length: ${toolsFileContent.length} characters`); - server.debug(`Tools file read successfully, attempting to parse JSON`); - ALL_TOOLS = JSON.parse(toolsFileContent); - server.debug(`Successfully parsed ${ALL_TOOLS.length} tools from file`); - } else { - server.debug(`Tools file does not exist at: ${toolsPath}`); - server.debug(`Using empty tools array`); - ALL_TOOLS = []; - } - } catch (error) { - server.debug(`Error reading tools file: ${error instanceof Error ? error.message : String(error)}`); - server.debug(`Falling back to empty tools array`); - ALL_TOOLS = []; - } - return ALL_TOOLS; - } - function attachHandlers(tools, handlers) { - tools.forEach(tool => { - if (tool.name === "create_pull_request") { - tool.handler = handlers.createPullRequestHandler; - } else if (tool.name === "push_to_pull_request_branch") { - tool.handler = handlers.pushToPullRequestBranchHandler; - } else if (tool.name === "upload_asset") { - tool.handler = handlers.uploadAssetHandler; - } - }); - return tools; - } - function registerPredefinedTools(server, tools, config, registerTool, normalizeTool) { - tools.forEach(tool => { - if (Object.keys(config).find(configKey => normalizeTool(configKey) === tool.name)) { - registerTool(server, tool); - } - }); - } - function registerDynamicTools(server, tools, config, outputFile, registerTool, normalizeTool) { - Object.keys(config).forEach(configKey => { - const normalizedKey = normalizeTool(configKey); - if (server.tools[normalizedKey]) { - return; - } - if (!tools.find(t => t.name === normalizedKey)) { - const jobConfig = config[configKey]; - const dynamicTool = { - name: normalizedKey, - description: jobConfig && jobConfig.description ? jobConfig.description : `Custom safe-job: ${configKey}`, - inputSchema: { - type: "object", - properties: {}, - additionalProperties: true, - }, - handler: args => { - const entry = { - type: normalizedKey, - ...args, - }; - const entryJSON = JSON.stringify(entry); - fs.appendFileSync(outputFile, entryJSON + "\n"); - const outputText = - jobConfig && jobConfig.output - ? jobConfig.output - : `Safe-job '${configKey}' executed successfully with arguments: ${JSON.stringify(args)}`; - return { - content: [ - { - type: "text", - text: JSON.stringify({ result: outputText }), - }, - ], - }; - }, - }; - if (jobConfig && jobConfig.inputs) { - dynamicTool.inputSchema.properties = {}; - dynamicTool.inputSchema.required = []; - Object.keys(jobConfig.inputs).forEach(inputName => { - const inputDef = jobConfig.inputs[inputName]; - const propSchema = { - type: inputDef.type || "string", - description: inputDef.description || `Input parameter: ${inputName}`, - }; - if (inputDef.options && Array.isArray(inputDef.options)) { - propSchema.enum = inputDef.options; - } - dynamicTool.inputSchema.properties[inputName] = propSchema; - if (inputDef.required) { - dynamicTool.inputSchema.required.push(inputName); - } - }); - } - registerTool(server, dynamicTool); - } - }); - } - module.exports = { - loadTools, - attachHandlers, - registerPredefinedTools, - registerDynamicTools, - }; - EOF_TOOLS_LOADER - cat > /tmp/gh-aw/safeoutputs/normalize_branch_name.cjs << 'EOF_NORMALIZE_BRANCH' - function normalizeBranchName(branchName) { - if (!branchName || typeof branchName !== "string" || branchName.trim() === "") { - return branchName; - } - let normalized = branchName.replace(/[^a-zA-Z0-9\-_/.]+/g, "-"); - normalized = normalized.replace(/-+/g, "-"); - normalized = normalized.replace(/^-+|-+$/g, ""); - if (normalized.length > 128) { - normalized = normalized.substring(0, 128); - } - normalized = normalized.replace(/-+$/, ""); - normalized = normalized.toLowerCase(); - return normalized; - } - module.exports = { - normalizeBranchName, - }; - EOF_NORMALIZE_BRANCH - cat > /tmp/gh-aw/safeoutputs/estimate_tokens.cjs << 'EOF_ESTIMATE_TOKENS' - function estimateTokens(text) { - if (!text) return 0; - return Math.ceil(text.length / 4); - } - module.exports = { - estimateTokens, - }; - EOF_ESTIMATE_TOKENS - cat > /tmp/gh-aw/safeoutputs/write_large_content_to_file.cjs << 'EOF_WRITE_LARGE' - const fs = require("fs"); - const path = require("path"); - const crypto = require("crypto"); - const { generateCompactSchema } = require("./generate_compact_schema.cjs"); - function writeLargeContentToFile(content) { - const logsDir = "/tmp/gh-aw/safeoutputs"; - if (!fs.existsSync(logsDir)) { - fs.mkdirSync(logsDir, { recursive: true }); - } - const hash = crypto.createHash("sha256").update(content).digest("hex"); - const filename = `${hash}.json`; - const filepath = path.join(logsDir, filename); - fs.writeFileSync(filepath, content, "utf8"); - const description = generateCompactSchema(content); - return { - filename: filename, - description: description, - }; - } - module.exports = { - writeLargeContentToFile, - }; - EOF_WRITE_LARGE - cat > /tmp/gh-aw/safeoutputs/get_current_branch.cjs << 'EOF_CURRENT_BRANCH' - const { execSync } = require("child_process"); - function getCurrentBranch() { - const cwd = process.env.GITHUB_WORKSPACE || process.cwd(); - try { - const branch = execSync("git rev-parse --abbrev-ref HEAD", { - encoding: "utf8", - cwd: cwd, - }).trim(); - return branch; - } catch (error) { - } - const ghHeadRef = process.env.GITHUB_HEAD_REF; - const ghRefName = process.env.GITHUB_REF_NAME; - if (ghHeadRef) { - return ghHeadRef; - } - if (ghRefName) { - return ghRefName; - } - throw new Error("Failed to determine current branch: git command failed and no GitHub environment variables available"); - } - module.exports = { - getCurrentBranch, - }; - EOF_CURRENT_BRANCH - cat > /tmp/gh-aw/safeoutputs/get_base_branch.cjs << 'EOF_BASE_BRANCH' - function getBaseBranch() { - return process.env.GH_AW_BASE_BRANCH || "main"; - } - module.exports = { - getBaseBranch, - }; - EOF_BASE_BRANCH - cat > /tmp/gh-aw/safeoutputs/generate_git_patch.cjs << 'EOF_GIT_PATCH' - const fs = require("fs"); - const path = require("path"); - const { execSync } = require("child_process"); - const { getBaseBranch } = require("./get_base_branch.cjs"); - function generateGitPatch(branchName) { - const patchPath = "/tmp/gh-aw/aw.patch"; - const cwd = process.env.GITHUB_WORKSPACE || process.cwd(); - const defaultBranch = process.env.DEFAULT_BRANCH || getBaseBranch(); - const githubSha = process.env.GITHUB_SHA; - const patchDir = path.dirname(patchPath); - if (!fs.existsSync(patchDir)) { - fs.mkdirSync(patchDir, { recursive: true }); - } - let patchGenerated = false; - let errorMessage = null; - try { - if (branchName) { - try { - execSync(`git show-ref --verify --quiet refs/heads/${branchName}`, { cwd, encoding: "utf8" }); - let baseRef; - try { - execSync(`git show-ref --verify --quiet refs/remotes/origin/${branchName}`, { cwd, encoding: "utf8" }); - baseRef = `origin/${branchName}`; - } catch { - execSync(`git fetch origin ${defaultBranch}`, { cwd, encoding: "utf8" }); - baseRef = execSync(`git merge-base origin/${defaultBranch} ${branchName}`, { cwd, encoding: "utf8" }).trim(); - } - const commitCount = parseInt(execSync(`git rev-list --count ${baseRef}..${branchName}`, { cwd, encoding: "utf8" }).trim(), 10); - if (commitCount > 0) { - const patchContent = execSync(`git format-patch ${baseRef}..${branchName} --stdout`, { - cwd, - encoding: "utf8", - }); - if (patchContent && patchContent.trim()) { - fs.writeFileSync(patchPath, patchContent, "utf8"); - patchGenerated = true; - } - } - } catch (branchError) { - } - } - if (!patchGenerated) { - const currentHead = execSync("git rev-parse HEAD", { cwd, encoding: "utf8" }).trim(); - if (!githubSha) { - errorMessage = "GITHUB_SHA environment variable is not set"; - } else if (currentHead === githubSha) { - } else { - try { - execSync(`git merge-base --is-ancestor ${githubSha} HEAD`, { cwd, encoding: "utf8" }); - const commitCount = parseInt(execSync(`git rev-list --count ${githubSha}..HEAD`, { cwd, encoding: "utf8" }).trim(), 10); - if (commitCount > 0) { - const patchContent = execSync(`git format-patch ${githubSha}..HEAD --stdout`, { - cwd, - encoding: "utf8", - }); - if (patchContent && patchContent.trim()) { - fs.writeFileSync(patchPath, patchContent, "utf8"); - patchGenerated = true; - } - } - } catch { - } - } - } - } catch (error) { - errorMessage = `Failed to generate patch: ${error instanceof Error ? error.message : String(error)}`; - } - if (patchGenerated && fs.existsSync(patchPath)) { - const patchContent = fs.readFileSync(patchPath, "utf8"); - const patchSize = Buffer.byteLength(patchContent, "utf8"); - const patchLines = patchContent.split("\n").length; - if (!patchContent.trim()) { - return { - success: false, - error: "No changes to commit - patch is empty", - patchPath: patchPath, - patchSize: 0, - patchLines: 0, - }; - } - return { - success: true, - patchPath: patchPath, - patchSize: patchSize, - patchLines: patchLines, - }; - } - return { - success: false, - error: errorMessage || "No changes to commit - no commits found", - patchPath: patchPath, - }; - } - module.exports = { - generateGitPatch, - }; - EOF_GIT_PATCH - cat > /tmp/gh-aw/safeoutputs/mcp_server_core.cjs << 'EOF_MCP_CORE' - const fs = require("fs"); - const path = require("path"); - const { execFile } = require("child_process"); - const os = require("os"); - const { ReadBuffer } = require("./read_buffer.cjs"); - const encoder = new TextEncoder(); - function initLogFile(server) { - if (server.logFileInitialized || !server.logDir || !server.logFilePath) return; - try { - if (!fs.existsSync(server.logDir)) { - fs.mkdirSync(server.logDir, { recursive: true }); - } - const timestamp = new Date().toISOString(); - fs.writeFileSync( - server.logFilePath, - `# ${server.serverInfo.name} MCP Server Log\n# Started: ${timestamp}\n# Version: ${server.serverInfo.version}\n\n` - ); - server.logFileInitialized = true; - } catch { - } - } - function createDebugFunction(server) { - return msg => { - const timestamp = new Date().toISOString(); - const formattedMsg = `[${timestamp}] [${server.serverInfo.name}] ${msg}\n`; - process.stderr.write(formattedMsg); - if (server.logDir && server.logFilePath) { - if (!server.logFileInitialized) { - initLogFile(server); - } - if (server.logFileInitialized) { - try { - fs.appendFileSync(server.logFilePath, formattedMsg); - } catch { - } - } - } - }; - } - function createDebugErrorFunction(server) { - return (prefix, error) => { - const errorMessage = error instanceof Error ? error.message : String(error); - server.debug(`${prefix}${errorMessage}`); - if (error instanceof Error && error.stack) { - server.debug(`${prefix}Stack trace: ${error.stack}`); - } - }; - } - function createWriteMessageFunction(server) { - return obj => { - const json = JSON.stringify(obj); - server.debug(`send: ${json}`); - const message = json + "\n"; - const bytes = encoder.encode(message); - fs.writeSync(1, bytes); - }; - } - function createReplyResultFunction(server) { - return (id, result) => { - if (id === undefined || id === null) return; - const res = { jsonrpc: "2.0", id, result }; - server.writeMessage(res); - }; - } - function createReplyErrorFunction(server) { - return (id, code, message) => { - if (id === undefined || id === null) { - server.debug(`Error for notification: ${message}`); - return; - } - const error = { code, message }; - const res = { - jsonrpc: "2.0", - id, - error, - }; - server.writeMessage(res); - }; - } - function createServer(serverInfo, options = {}) { - const logDir = options.logDir || undefined; - const logFilePath = logDir ? path.join(logDir, "server.log") : undefined; - const server = { - serverInfo, - tools: {}, - debug: () => {}, - debugError: () => {}, - writeMessage: () => {}, - replyResult: () => {}, - replyError: () => {}, - readBuffer: new ReadBuffer(), - logDir, - logFilePath, - logFileInitialized: false, - }; - server.debug = createDebugFunction(server); - server.debugError = createDebugErrorFunction(server); - server.writeMessage = createWriteMessageFunction(server); - server.replyResult = createReplyResultFunction(server); - server.replyError = createReplyErrorFunction(server); - return server; - } - function createWrappedHandler(server, toolName, handlerFn) { - return async args => { - server.debug(` [${toolName}] Invoking handler with args: ${JSON.stringify(args)}`); - try { - const result = await Promise.resolve(handlerFn(args)); - server.debug(` [${toolName}] Handler returned result type: ${typeof result}`); - if (result && typeof result === "object" && Array.isArray(result.content)) { - server.debug(` [${toolName}] Result is already in MCP format`); - return result; - } - let serializedResult; - try { - serializedResult = JSON.stringify(result); - } catch (serializationError) { - server.debugError(` [${toolName}] Serialization error: `, serializationError); - serializedResult = String(result); - } - server.debug(` [${toolName}] Serialized result: ${serializedResult.substring(0, 200)}${serializedResult.length > 200 ? "..." : ""}`); - return { - content: [ - { - type: "text", - text: serializedResult, - }, - ], - }; - } catch (error) { - server.debugError(` [${toolName}] Handler threw error: `, error); - throw error; - } - }; - } - function loadToolHandlers(server, tools, basePath) { - server.debug(`Loading tool handlers...`); - server.debug(` Total tools to process: ${tools.length}`); - server.debug(` Base path: ${basePath || "(not specified)"}`); - let loadedCount = 0; - let skippedCount = 0; - let errorCount = 0; - for (const tool of tools) { - const toolName = tool.name || "(unnamed)"; - if (!tool.handler) { - server.debug(` [${toolName}] No handler path specified, skipping handler load`); - skippedCount++; - continue; - } - const handlerPath = tool.handler; - server.debug(` [${toolName}] Handler path specified: ${handlerPath}`); - let resolvedPath = handlerPath; - if (basePath && !path.isAbsolute(handlerPath)) { - resolvedPath = path.resolve(basePath, handlerPath); - server.debug(` [${toolName}] Resolved relative path to: ${resolvedPath}`); - const normalizedBase = path.resolve(basePath); - const normalizedResolved = path.resolve(resolvedPath); - if (!normalizedResolved.startsWith(normalizedBase + path.sep) && normalizedResolved !== normalizedBase) { - server.debug(` [${toolName}] ERROR: Handler path escapes base directory: ${resolvedPath} is not within ${basePath}`); - errorCount++; - continue; - } - } else if (path.isAbsolute(handlerPath)) { - server.debug(` [${toolName}] Using absolute path (bypasses basePath validation): ${handlerPath}`); - } - tool.handlerPath = handlerPath; - try { - server.debug(` [${toolName}] Loading handler from: ${resolvedPath}`); - if (!fs.existsSync(resolvedPath)) { - server.debug(` [${toolName}] ERROR: Handler file does not exist: ${resolvedPath}`); - errorCount++; - continue; - } - const ext = path.extname(resolvedPath).toLowerCase(); - server.debug(` [${toolName}] Handler file extension: ${ext}`); - if (ext === ".sh") { - server.debug(` [${toolName}] Detected shell script handler`); - try { - fs.accessSync(resolvedPath, fs.constants.X_OK); - server.debug(` [${toolName}] Shell script is executable`); - } catch { - try { - fs.chmodSync(resolvedPath, 0o755); - server.debug(` [${toolName}] Made shell script executable`); - } catch (chmodError) { - server.debugError(` [${toolName}] Warning: Could not make shell script executable: `, chmodError); - } - } - const { execFile } = require("child_process"); - const os = require("os"); - function createShellHandler(server, toolName, scriptPath) { - return async args => { - server.debug(` [${toolName}] Invoking shell handler: ${scriptPath}`); - server.debug(` [${toolName}] Shell handler args: ${JSON.stringify(args)}`); - const env = { ...process.env }; - for (const [key, value] of Object.entries(args || {})) { - const envKey = `INPUT_${key.toUpperCase().replace(/-/g, "_")}`; - env[envKey] = String(value); - server.debug(` [${toolName}] Set env: ${envKey}=${String(value).substring(0, 100)}${String(value).length > 100 ? "..." : ""}`); - } - const outputFile = path.join(os.tmpdir(), `mcp-shell-output-${Date.now()}-${Math.random().toString(36).substring(2)}.txt`); - env.GITHUB_OUTPUT = outputFile; - server.debug(` [${toolName}] Output file: ${outputFile}`); - fs.writeFileSync(outputFile, ""); - return new Promise((resolve, reject) => { - server.debug(` [${toolName}] Executing shell script...`); - execFile( - scriptPath, - [], - { - env, - timeout: 300000, - maxBuffer: 10 * 1024 * 1024, - }, - (error, stdout, stderr) => { - if (stdout) { - server.debug(` [${toolName}] stdout: ${stdout.substring(0, 500)}${stdout.length > 500 ? "..." : ""}`); - } - if (stderr) { - server.debug(` [${toolName}] stderr: ${stderr.substring(0, 500)}${stderr.length > 500 ? "..." : ""}`); - } - if (error) { - server.debugError(` [${toolName}] Shell script error: `, error); - try { - if (fs.existsSync(outputFile)) { - fs.unlinkSync(outputFile); - } - } catch { - } - reject(error); - return; - } - const outputs = {}; - try { - if (fs.existsSync(outputFile)) { - const outputContent = fs.readFileSync(outputFile, "utf-8"); - server.debug( - ` [${toolName}] Output file content: ${outputContent.substring(0, 500)}${outputContent.length > 500 ? "..." : ""}` - ); - const lines = outputContent.split("\n"); - for (const line of lines) { - const trimmed = line.trim(); - if (trimmed && trimmed.includes("=")) { - const eqIndex = trimmed.indexOf("="); - const key = trimmed.substring(0, eqIndex); - const value = trimmed.substring(eqIndex + 1); - outputs[key] = value; - server.debug(` [${toolName}] Parsed output: ${key}=${value.substring(0, 100)}${value.length > 100 ? "..." : ""}`); - } - } - } - } catch (readError) { - server.debugError(` [${toolName}] Error reading output file: `, readError); - } - try { - if (fs.existsSync(outputFile)) { - fs.unlinkSync(outputFile); - } - } catch { - } - const result = { - stdout: stdout || "", - stderr: stderr || "", - outputs, - }; - server.debug(` [${toolName}] Shell handler completed, outputs: ${Object.keys(outputs).join(", ") || "(none)"}`); - resolve({ - content: [ - { - type: "text", - text: JSON.stringify(result), - }, - ], - }); - } - ); - }); - }; - } - tool.handler = createShellHandler(server, toolName, resolvedPath); - loadedCount++; - server.debug(` [${toolName}] Shell handler created successfully`); - } else if (ext === ".py") { - server.debug(` [${toolName}] Detected Python script handler`); - try { - fs.accessSync(resolvedPath, fs.constants.X_OK); - server.debug(` [${toolName}] Python script is executable`); - } catch { - try { - fs.chmodSync(resolvedPath, 0o755); - server.debug(` [${toolName}] Made Python script executable`); - } catch (chmodError) { - server.debugError(` [${toolName}] Warning: Could not make Python script executable: `, chmodError); - } - } - function createPythonHandler(server, toolName, scriptPath) { - return async args => { - server.debug(` [${toolName}] Invoking Python handler: ${scriptPath}`); - server.debug(` [${toolName}] Python handler args: ${JSON.stringify(args)}`); - const inputJson = JSON.stringify(args || {}); - server.debug( - ` [${toolName}] Input JSON (${inputJson.length} bytes): ${inputJson.substring(0, 200)}${inputJson.length > 200 ? "..." : ""}` - ); - return new Promise((resolve, reject) => { - server.debug(` [${toolName}] Executing Python script...`); - const child = execFile( - "python3", - [scriptPath], - { - env: process.env, - timeout: 300000, - maxBuffer: 10 * 1024 * 1024, - }, - (error, stdout, stderr) => { - if (stdout) { - server.debug(` [${toolName}] stdout: ${stdout.substring(0, 500)}${stdout.length > 500 ? "..." : ""}`); - } - if (stderr) { - server.debug(` [${toolName}] stderr: ${stderr.substring(0, 500)}${stderr.length > 500 ? "..." : ""}`); - } - if (error) { - server.debugError(` [${toolName}] Python script error: `, error); - reject(error); - return; - } - let result; - try { - if (stdout && stdout.trim()) { - result = JSON.parse(stdout.trim()); - } else { - result = { stdout: stdout || "", stderr: stderr || "" }; - } - } catch (parseError) { - server.debug(` [${toolName}] Output is not JSON, returning as text`); - result = { stdout: stdout || "", stderr: stderr || "" }; - } - server.debug(` [${toolName}] Python handler completed successfully`); - resolve({ - content: [ - { - type: "text", - text: JSON.stringify(result), - }, - ], - }); - } - ); - if (child.stdin) { - child.stdin.write(inputJson); - child.stdin.end(); - } - }); - }; - } - tool.handler = createPythonHandler(server, toolName, resolvedPath); - loadedCount++; - server.debug(` [${toolName}] Python handler created successfully`); - } else { - server.debug(` [${toolName}] Loading JavaScript handler module`); - const handlerModule = require(resolvedPath); - server.debug(` [${toolName}] Handler module loaded successfully`); - server.debug(` [${toolName}] Module type: ${typeof handlerModule}`); - let handlerFn = handlerModule; - if (handlerModule && typeof handlerModule === "object" && typeof handlerModule.default === "function") { - handlerFn = handlerModule.default; - server.debug(` [${toolName}] Using module.default export`); - } - if (typeof handlerFn !== "function") { - server.debug(` [${toolName}] ERROR: Handler is not a function, got: ${typeof handlerFn}`); - server.debug(` [${toolName}] Module keys: ${Object.keys(handlerModule || {}).join(", ") || "(none)"}`); - errorCount++; - continue; - } - server.debug(` [${toolName}] Handler function validated successfully`); - server.debug(` [${toolName}] Handler function name: ${handlerFn.name || "(anonymous)"}`); - tool.handler = createWrappedHandler(server, toolName, handlerFn); - loadedCount++; - server.debug(` [${toolName}] JavaScript handler loaded and wrapped successfully`); - } - } catch (error) { - server.debugError(` [${toolName}] ERROR loading handler: `, error); - errorCount++; - } - } - server.debug(`Handler loading complete:`); - server.debug(` Loaded: ${loadedCount}`); - server.debug(` Skipped (no handler path): ${skippedCount}`); - server.debug(` Errors: ${errorCount}`); - return tools; - } - function registerTool(server, tool) { - const normalizedName = normalizeTool(tool.name); - server.tools[normalizedName] = { - ...tool, - name: normalizedName, - }; - server.debug(`Registered tool: ${normalizedName}`); - } - function normalizeTool(name) { - return name.replace(/-/g, "_").toLowerCase(); - } - async function handleMessage(server, req, defaultHandler) { - if (!req || typeof req !== "object") { - server.debug(`Invalid message: not an object`); - return; - } - if (req.jsonrpc !== "2.0") { - server.debug(`Invalid message: missing or invalid jsonrpc field`); - return; - } - const { id, method, params } = req; - if (!method || typeof method !== "string") { - server.replyError(id, -32600, "Invalid Request: method must be a string"); - return; - } - try { - if (method === "initialize") { - const clientInfo = params?.clientInfo ?? {}; - server.debug(`client info: ${JSON.stringify(clientInfo)}`); - const protocolVersion = params?.protocolVersion ?? undefined; - const result = { - serverInfo: server.serverInfo, - ...(protocolVersion ? { protocolVersion } : {}), - capabilities: { - tools: {}, - }, - }; - server.replyResult(id, result); - } else if (method === "tools/list") { - const list = []; - Object.values(server.tools).forEach(tool => { - const toolDef = { - name: tool.name, - description: tool.description, - inputSchema: tool.inputSchema, - }; - list.push(toolDef); - }); - server.replyResult(id, { tools: list }); - } else if (method === "tools/call") { - const name = params?.name; - const args = params?.arguments ?? {}; - if (!name || typeof name !== "string") { - server.replyError(id, -32602, "Invalid params: 'name' must be a string"); - return; - } - const tool = server.tools[normalizeTool(name)]; - if (!tool) { - server.replyError(id, -32601, `Tool not found: ${name} (${normalizeTool(name)})`); - return; - } - let handler = tool.handler; - if (!handler && defaultHandler) { - handler = defaultHandler(tool.name); - } - if (!handler) { - server.replyError(id, -32603, `No handler for tool: ${name}`); - return; - } - const requiredFields = tool.inputSchema && Array.isArray(tool.inputSchema.required) ? tool.inputSchema.required : []; - if (requiredFields.length) { - const missing = requiredFields.filter(f => { - const value = args[f]; - return value === undefined || value === null || (typeof value === "string" && value.trim() === ""); - }); - if (missing.length) { - server.replyError(id, -32602, `Invalid arguments: missing or empty ${missing.map(m => `'${m}'`).join(", ")}`); - return; - } - } - server.debug(`Calling handler for tool: ${name}`); - const result = await Promise.resolve(handler(args)); - server.debug(`Handler returned for tool: ${name}`); - const content = result && result.content ? result.content : []; - server.replyResult(id, { content, isError: false }); - } else if (/^notifications\//.test(method)) { - server.debug(`ignore ${method}`); - } else { - server.replyError(id, -32601, `Method not found: ${method}`); - } - } catch (e) { - server.replyError(id, -32603, e instanceof Error ? e.message : String(e)); - } - } - async function processReadBuffer(server, defaultHandler) { - while (true) { - try { - const message = server.readBuffer.readMessage(); - if (!message) { - break; - } - server.debug(`recv: ${JSON.stringify(message)}`); - await handleMessage(server, message, defaultHandler); - } catch (error) { - server.debug(`Parse error: ${error instanceof Error ? error.message : String(error)}`); - } - } - } - function start(server, options = {}) { - const { defaultHandler } = options; - server.debug(`v${server.serverInfo.version} ready on stdio`); - server.debug(` tools: ${Object.keys(server.tools).join(", ")}`); - if (!Object.keys(server.tools).length) { - throw new Error("No tools registered"); - } - const onData = async chunk => { - server.readBuffer.append(chunk); - await processReadBuffer(server, defaultHandler); - }; - process.stdin.on("data", onData); - process.stdin.on("error", err => server.debug(`stdin error: ${err}`)); - process.stdin.resume(); - server.debug(`listening...`); - } - module.exports = { - createServer, - registerTool, - normalizeTool, - handleMessage, - processReadBuffer, - start, - loadToolHandlers, - }; - EOF_MCP_CORE + - name: Write Safe Outputs JavaScript Files + run: | cat > /tmp/gh-aw/safeoutputs/mcp-server.cjs << 'EOF' const fs = require("fs"); const path = require("path"); - const { execFile } = require("child_process"); - const os = require("os"); class ReadBuffer { constructor() { this._buffer = null; @@ -2343,6 +1262,61 @@ jobs: } }; } + function loadToolHandlers(server, tools, basePath) { + server.debug(`Loading tool handlers...`); + server.debug(` Total tools to process: ${tools.length}`); + server.debug(` Base path: ${basePath || "(not specified)"}`); + let loadedCount = 0; + let skippedCount = 0; + let errorCount = 0; + for (const tool of tools) { + const toolName = tool.name || "(unnamed)"; + if (!tool.handler) { + server.debug(` [${toolName}] No handler path specified, skipping handler load`); + skippedCount++; + continue; + } + const handlerPath = tool.handler; + server.debug(` [${toolName}] Handler path specified: ${handlerPath}`); + let resolvedPath = handlerPath; + if (basePath && !path.isAbsolute(handlerPath)) { + resolvedPath = path.resolve(basePath, handlerPath); + server.debug(` [${toolName}] Resolved relative path to: ${resolvedPath}`); + const normalizedBase = path.resolve(basePath); + const normalizedResolved = path.resolve(resolvedPath); + if (!normalizedResolved.startsWith(normalizedBase + path.sep) && normalizedResolved !== normalizedBase) { + server.debug(` [${toolName}] ERROR: Handler path escapes base directory: ${resolvedPath} is not within ${basePath}`); + errorCount++; + continue; + } + } else if (path.isAbsolute(handlerPath)) { + server.debug(` [${toolName}] Using absolute path (bypasses basePath validation): ${handlerPath}`); + } + tool.handlerPath = handlerPath; + try { + server.debug(` [${toolName}] Loading handler from: ${resolvedPath}`); + if (!fs.existsSync(resolvedPath)) { + server.debug(` [${toolName}] ERROR: Handler file does not exist: ${resolvedPath}`); + errorCount++; + continue; + } + const ext = path.extname(resolvedPath).toLowerCase(); + server.debug(` [${toolName}] Handler file extension: ${ext}`); + if (ext === ".sh") { + server.debug(` [${toolName}] Detected shell script handler`); + try { + fs.accessSync(resolvedPath, fs.constants.X_OK); + server.debug(` [${toolName}] Shell script is executable`); + } catch { + try { + fs.chmodSync(resolvedPath, 0o755); + server.debug(` [${toolName}] Made shell script executable`); + } catch (chmodError) { + server.debugError(` [${toolName}] Warning: Could not make shell script executable: `, chmodError); + } + } + const { execFile } = require("child_process"); + const os = require("os"); function createShellHandler(server, toolName, scriptPath) { return async args => { server.debug(` [${toolName}] Invoking shell handler: ${scriptPath}`); @@ -2432,62 +1406,84 @@ jobs: }); }; } - function loadToolHandlers(server, tools, basePath) { - server.debug(`Loading tool handlers...`); - server.debug(` Total tools to process: ${tools.length}`); - server.debug(` Base path: ${basePath || "(not specified)"}`); - let loadedCount = 0; - let skippedCount = 0; - let errorCount = 0; - for (const tool of tools) { - const toolName = tool.name || "(unnamed)"; - if (!tool.handler) { - server.debug(` [${toolName}] No handler path specified, skipping handler load`); - skippedCount++; - continue; - } - const handlerPath = tool.handler; - server.debug(` [${toolName}] Handler path specified: ${handlerPath}`); - let resolvedPath = handlerPath; - if (basePath && !path.isAbsolute(handlerPath)) { - resolvedPath = path.resolve(basePath, handlerPath); - server.debug(` [${toolName}] Resolved relative path to: ${resolvedPath}`); - const normalizedBase = path.resolve(basePath); - const normalizedResolved = path.resolve(resolvedPath); - if (!normalizedResolved.startsWith(normalizedBase + path.sep) && normalizedResolved !== normalizedBase) { - server.debug(` [${toolName}] ERROR: Handler path escapes base directory: ${resolvedPath} is not within ${basePath}`); - errorCount++; - continue; - } - } else if (path.isAbsolute(handlerPath)) { - server.debug(` [${toolName}] Using absolute path (bypasses basePath validation): ${handlerPath}`); - } - tool.handlerPath = handlerPath; - try { - server.debug(` [${toolName}] Loading handler from: ${resolvedPath}`); - if (!fs.existsSync(resolvedPath)) { - server.debug(` [${toolName}] ERROR: Handler file does not exist: ${resolvedPath}`); - errorCount++; - continue; - } - const ext = path.extname(resolvedPath).toLowerCase(); - server.debug(` [${toolName}] Handler file extension: ${ext}`); - if (ext === ".sh") { - server.debug(` [${toolName}] Detected shell script handler`); + tool.handler = createShellHandler(server, toolName, resolvedPath); + loadedCount++; + server.debug(` [${toolName}] Shell handler created successfully`); + } else if (ext === ".py") { + server.debug(` [${toolName}] Detected Python script handler`); try { fs.accessSync(resolvedPath, fs.constants.X_OK); - server.debug(` [${toolName}] Shell script is executable`); + server.debug(` [${toolName}] Python script is executable`); } catch { try { fs.chmodSync(resolvedPath, 0o755); - server.debug(` [${toolName}] Made shell script executable`); + server.debug(` [${toolName}] Made Python script executable`); } catch (chmodError) { - server.debugError(` [${toolName}] Warning: Could not make shell script executable: `, chmodError); + server.debugError(` [${toolName}] Warning: Could not make Python script executable: `, chmodError); } } - tool.handler = createShellHandler(server, toolName, resolvedPath); + function createPythonHandler(server, toolName, scriptPath) { + return async args => { + server.debug(` [${toolName}] Invoking Python handler: ${scriptPath}`); + server.debug(` [${toolName}] Python handler args: ${JSON.stringify(args)}`); + const inputJson = JSON.stringify(args || {}); + server.debug( + ` [${toolName}] Input JSON (${inputJson.length} bytes): ${inputJson.substring(0, 200)}${inputJson.length > 200 ? "..." : ""}` + ); + return new Promise((resolve, reject) => { + server.debug(` [${toolName}] Executing Python script...`); + const child = execFile( + "python3", + [scriptPath], + { + env: process.env, + timeout: 300000, + maxBuffer: 10 * 1024 * 1024, + }, + (error, stdout, stderr) => { + if (stdout) { + server.debug(` [${toolName}] stdout: ${stdout.substring(0, 500)}${stdout.length > 500 ? "..." : ""}`); + } + if (stderr) { + server.debug(` [${toolName}] stderr: ${stderr.substring(0, 500)}${stderr.length > 500 ? "..." : ""}`); + } + if (error) { + server.debugError(` [${toolName}] Python script error: `, error); + reject(error); + return; + } + let result; + try { + if (stdout && stdout.trim()) { + result = JSON.parse(stdout.trim()); + } else { + result = { stdout: stdout || "", stderr: stderr || "" }; + } + } catch (parseError) { + server.debug(` [${toolName}] Output is not JSON, returning as text`); + result = { stdout: stdout || "", stderr: stderr || "" }; + } + server.debug(` [${toolName}] Python handler completed successfully`); + resolve({ + content: [ + { + type: "text", + text: JSON.stringify(result), + }, + ], + }); + } + ); + if (child.stdin) { + child.stdin.write(inputJson); + child.stdin.end(); + } + }); + }; + } + tool.handler = createPythonHandler(server, toolName, resolvedPath); loadedCount++; - server.debug(` [${toolName}] Shell handler created successfully`); + server.debug(` [${toolName}] Python handler created successfully`); } else { server.debug(` [${toolName}] Loading JavaScript handler module`); const handlerModule = require(resolvedPath); @@ -6129,7 +5125,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -6361,7 +5361,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -7640,7 +6642,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/daily-code-metrics.lock.yml b/.github/workflows/daily-code-metrics.lock.yml index 27936a00c7..ac1bf58e03 100644 --- a/.github/workflows/daily-code-metrics.lock.yml +++ b/.github/workflows/daily-code-metrics.lock.yml @@ -930,8 +930,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -1192,7 +1192,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -5890,7 +5890,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -6843,7 +6845,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -6995,7 +6999,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -7033,7 +7039,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -7306,7 +7314,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/daily-copilot-token-report.lock.yml b/.github/workflows/daily-copilot-token-report.lock.yml index 1c1d71299a..64c0d6d550 100644 --- a/.github/workflows/daily-copilot-token-report.lock.yml +++ b/.github/workflows/daily-copilot-token-report.lock.yml @@ -1048,8 +1048,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -1318,7 +1318,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -6491,7 +6491,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -6730,7 +6734,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -7684,7 +7690,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -7836,7 +7844,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -7874,7 +7884,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -8147,7 +8159,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/daily-doc-updater.lock.yml b/.github/workflows/daily-doc-updater.lock.yml index 22b8f030dc..a6461c1f12 100644 --- a/.github/workflows/daily-doc-updater.lock.yml +++ b/.github/workflows/daily-doc-updater.lock.yml @@ -257,8 +257,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -495,7 +495,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -4552,7 +4552,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -5315,7 +5317,9 @@ jobs: const summary = truncated ? `Show patch preview (${Math.min(maxLines, lines.length)} of ${lines.length} lines)` : `Show patch (${lines.length} lines)`; - return `\n\n
${summary}\n\n\`\`\`diff\n${preview}${truncated ? "\n... (truncated)" : ""}\n\`\`\`\n\n
`; + return `\n\n
${summary}\n\n\`\`\`diff\n${preview}${ + truncated ? "\n... (truncated)" : "" + }\n\`\`\`\n\n
`; } async function main() { core.setOutput("pull_request_number", ""); @@ -5462,7 +5466,9 @@ jobs: const patchStats = fs.readFileSync("/tmp/gh-aw/aw.patch", "utf8"); if (patchStats.trim()) { summaryContent += `**Changes:** Patch file exists with ${patchStats.split("\n").length} lines\n\n`; - summaryContent += `
Show patch preview\n\n\`\`\`diff\n${patchStats.slice(0, 2000)}${patchStats.length > 2000 ? "\n... (truncated)" : ""}\n\`\`\`\n\n
\n\n`; + summaryContent += `
Show patch preview\n\n\`\`\`diff\n${patchStats.slice(0, 2000)}${ + patchStats.length > 2000 ? "\n... (truncated)" : "" + }\n\`\`\`\n\n
\n\n`; } else { summaryContent += `**Changes:** No changes (empty patch)\n\n`; } @@ -5630,7 +5636,9 @@ jobs: return; } catch (issueError) { core.setFailed( - `Failed to push and failed to create fallback issue. Push error: ${pushError instanceof Error ? pushError.message : String(pushError)}. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` + `Failed to push and failed to create fallback issue. Push error: ${ + pushError instanceof Error ? pushError.message : String(pushError) + }. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` ); return; } @@ -5727,7 +5735,9 @@ jobs: .write(); } catch (issueError) { core.setFailed( - `Failed to create both pull request and fallback issue. PR error: ${prError instanceof Error ? prError.message : String(prError)}. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` + `Failed to create both pull request and fallback issue. PR error: ${ + prError instanceof Error ? prError.message : String(prError) + }. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` ); return; } @@ -5956,7 +5966,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/daily-fact.lock.yml b/.github/workflows/daily-fact.lock.yml index b0bd40d3c4..3d33e9099d 100644 --- a/.github/workflows/daily-fact.lock.yml +++ b/.github/workflows/daily-fact.lock.yml @@ -147,8 +147,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -974,7 +974,7 @@ jobs: CODEX_API_KEY: ${{ secrets.CODEX_API_KEY }} OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -4883,7 +4883,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -5605,7 +5607,7 @@ jobs: CODEX_API_KEY: ${{ secrets.CODEX_API_KEY }} OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/daily-file-diet.lock.yml b/.github/workflows/daily-file-diet.lock.yml index 34d4de0b03..3d77b86b47 100644 --- a/.github/workflows/daily-file-diet.lock.yml +++ b/.github/workflows/daily-file-diet.lock.yml @@ -387,8 +387,8 @@ # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd # - actions/setup-go@v5 (d35c59abb061a4a6fb18e82ac0862c26744d6ab5) # https://github.com/actions/setup-go/commit/d35c59abb061a4a6fb18e82ac0862c26744d6ab5 -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/setup-python@v5 (a26af69be951a213d495a4c3e4e4022e16d87065) # https://github.com/actions/setup-python/commit/a26af69be951a213d495a4c3e4e4022e16d87065 # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) @@ -625,7 +625,7 @@ jobs: CODEX_API_KEY: ${{ secrets.CODEX_API_KEY }} OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -4825,7 +4825,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -5696,7 +5698,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -5786,7 +5790,9 @@ jobs: } const temporaryId = createIssueItem.temporary_id || generateTemporaryId(); core.info( - `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${createIssueItem.body.length}, temporaryId=${temporaryId}, repo=${itemRepo}` + `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${ + createIssueItem.body.length + }, temporaryId=${temporaryId}, repo=${itemRepo}` ); core.info(`Debug: createIssueItem.parent = ${JSON.stringify(createIssueItem.parent)}`); core.info(`Debug: parentIssueNumber from context = ${JSON.stringify(parentIssueNumber)}`); @@ -5958,7 +5964,9 @@ jobs: core.info("✓ Added comment to parent issue #" + effectiveParentIssueNumber + " (sub-issue linking not available)"); } catch (commentError) { core.info( - `Warning: Could not add comment to parent issue: ${commentError instanceof Error ? commentError.message : String(commentError)}` + `Warning: Could not add comment to parent issue: ${ + commentError instanceof Error ? commentError.message : String(commentError) + }` ); } } @@ -6188,7 +6196,7 @@ jobs: CODEX_API_KEY: ${{ secrets.CODEX_API_KEY }} OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/daily-firewall-report.lock.yml b/.github/workflows/daily-firewall-report.lock.yml index 65f0addb92..13cc1d01cc 100644 --- a/.github/workflows/daily-firewall-report.lock.yml +++ b/.github/workflows/daily-firewall-report.lock.yml @@ -704,8 +704,8 @@ # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd # - actions/setup-go@v5 (d35c59abb061a4a6fb18e82ac0862c26744d6ab5) # https://github.com/actions/setup-go/commit/d35c59abb061a4a6fb18e82ac0862c26744d6ab5 -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -984,7 +984,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -5839,7 +5839,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -6078,7 +6082,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -7032,7 +7038,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -7184,7 +7192,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -7222,7 +7232,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -7495,7 +7507,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/daily-issues-report.lock.yml b/.github/workflows/daily-issues-report.lock.yml index 6b40e2d346..83ab435d86 100644 --- a/.github/workflows/daily-issues-report.lock.yml +++ b/.github/workflows/daily-issues-report.lock.yml @@ -1088,8 +1088,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -1363,7 +1363,7 @@ jobs: CODEX_API_KEY: ${{ secrets.CODEX_API_KEY }} OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -6345,7 +6345,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -6657,7 +6659,9 @@ jobs: const requiredCategory = process.env.GH_AW_CLOSE_DISCUSSION_REQUIRED_CATEGORY || ""; const target = process.env.GH_AW_CLOSE_DISCUSSION_TARGET || "triggering"; core.info( - `Configuration: requiredLabels=${requiredLabels.join(",")}, requiredTitlePrefix=${requiredTitlePrefix}, requiredCategory=${requiredCategory}, target=${target}` + `Configuration: requiredLabels=${requiredLabels.join( + "," + )}, requiredTitlePrefix=${requiredTitlePrefix}, requiredCategory=${requiredCategory}, target=${target}` ); const isDiscussionContext = context.eventName === "discussion" || context.eventName === "discussion_comment"; if (isStaged) { @@ -7674,7 +7678,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -7826,7 +7832,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -7864,7 +7872,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -8137,7 +8147,7 @@ jobs: CODEX_API_KEY: ${{ secrets.CODEX_API_KEY }} OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/daily-malicious-code-scan.lock.yml b/.github/workflows/daily-malicious-code-scan.lock.yml index fe4160ef11..5a6825a290 100644 --- a/.github/workflows/daily-malicious-code-scan.lock.yml +++ b/.github/workflows/daily-malicious-code-scan.lock.yml @@ -357,8 +357,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 # - github/codeql-action/upload-sarif@v3 (4248455a6f2335bc3b7a8a62932f000050ec8f13) @@ -577,7 +577,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -5087,7 +5087,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -5319,7 +5323,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -5989,7 +5995,11 @@ jobs: for (let i = 0; i < securityItems.length; i++) { const securityItem = securityItems[i]; core.info( - `Processing create-code-scanning-alert item ${i + 1}/${securityItems.length}: file=${securityItem.file}, line=${securityItem.line}, severity=${securityItem.severity}, messageLength=${securityItem.message ? securityItem.message.length : "undefined"}, ruleIdSuffix=${securityItem.ruleIdSuffix || "not specified"}` + `Processing create-code-scanning-alert item ${i + 1}/${securityItems.length}: file=${securityItem.file}, line=${ + securityItem.line + }, severity=${securityItem.severity}, messageLength=${ + securityItem.message ? securityItem.message.length : "undefined" + }, ruleIdSuffix=${securityItem.ruleIdSuffix || "not specified"}` ); if (!securityItem.file) { core.info('Missing required field "file" in code scanning alert item'); diff --git a/.github/workflows/daily-multi-device-docs-tester.lock.yml b/.github/workflows/daily-multi-device-docs-tester.lock.yml index a8f1a94e44..7c61d5d714 100644 --- a/.github/workflows/daily-multi-device-docs-tester.lock.yml +++ b/.github/workflows/daily-multi-device-docs-tester.lock.yml @@ -194,8 +194,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -420,7 +420,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -4465,7 +4465,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -5299,7 +5301,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -5389,7 +5393,9 @@ jobs: } const temporaryId = createIssueItem.temporary_id || generateTemporaryId(); core.info( - `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${createIssueItem.body.length}, temporaryId=${temporaryId}, repo=${itemRepo}` + `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${ + createIssueItem.body.length + }, temporaryId=${temporaryId}, repo=${itemRepo}` ); core.info(`Debug: createIssueItem.parent = ${JSON.stringify(createIssueItem.parent)}`); core.info(`Debug: parentIssueNumber from context = ${JSON.stringify(parentIssueNumber)}`); @@ -5561,7 +5567,9 @@ jobs: core.info("✓ Added comment to parent issue #" + effectiveParentIssueNumber + " (sub-issue linking not available)"); } catch (commentError) { core.info( - `Warning: Could not add comment to parent issue: ${commentError instanceof Error ? commentError.message : String(commentError)}` + `Warning: Could not add comment to parent issue: ${ + commentError instanceof Error ? commentError.message : String(commentError) + }` ); } } @@ -5778,7 +5786,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/daily-news.lock.yml b/.github/workflows/daily-news.lock.yml index 085e293849..e0a8a2fb0a 100644 --- a/.github/workflows/daily-news.lock.yml +++ b/.github/workflows/daily-news.lock.yml @@ -1060,8 +1060,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -1336,7 +1336,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -6380,7 +6380,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -6619,7 +6623,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -7573,7 +7579,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -7725,7 +7733,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -7763,7 +7773,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -8036,7 +8048,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/daily-performance-summary.lock.yml b/.github/workflows/daily-performance-summary.lock.yml index 89329b87e6..4d70a0b180 100644 --- a/.github/workflows/daily-performance-summary.lock.yml +++ b/.github/workflows/daily-performance-summary.lock.yml @@ -856,8 +856,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -1125,7 +1125,7 @@ jobs: CODEX_API_KEY: ${{ secrets.CODEX_API_KEY }} OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -6898,7 +6898,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -7210,7 +7212,9 @@ jobs: const requiredCategory = process.env.GH_AW_CLOSE_DISCUSSION_REQUIRED_CATEGORY || ""; const target = process.env.GH_AW_CLOSE_DISCUSSION_TARGET || "triggering"; core.info( - `Configuration: requiredLabels=${requiredLabels.join(",")}, requiredTitlePrefix=${requiredTitlePrefix}, requiredCategory=${requiredCategory}, target=${target}` + `Configuration: requiredLabels=${requiredLabels.join( + "," + )}, requiredTitlePrefix=${requiredTitlePrefix}, requiredCategory=${requiredCategory}, target=${target}` ); const isDiscussionContext = context.eventName === "discussion" || context.eventName === "discussion_comment"; if (isStaged) { @@ -8227,7 +8231,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -8379,7 +8385,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -8417,7 +8425,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -8690,7 +8700,7 @@ jobs: CODEX_API_KEY: ${{ secrets.CODEX_API_KEY }} OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/daily-repo-chronicle.lock.yml b/.github/workflows/daily-repo-chronicle.lock.yml index b0f590d572..da6b1431e4 100644 --- a/.github/workflows/daily-repo-chronicle.lock.yml +++ b/.github/workflows/daily-repo-chronicle.lock.yml @@ -756,8 +756,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -1022,7 +1022,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -5924,7 +5924,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -6163,7 +6167,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -7117,7 +7123,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -7269,7 +7277,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -7307,7 +7317,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -7580,7 +7592,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/daily-team-status.lock.yml b/.github/workflows/daily-team-status.lock.yml index 9b48e71524..266ec832dc 100644 --- a/.github/workflows/daily-team-status.lock.yml +++ b/.github/workflows/daily-team-status.lock.yml @@ -193,8 +193,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -413,7 +413,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -4679,7 +4679,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -4911,7 +4915,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -5871,7 +5877,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -6023,7 +6031,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -6061,7 +6071,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -6334,7 +6346,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/deep-report.lock.yml b/.github/workflows/deep-report.lock.yml index f0af33c057..69f96f3d1f 100644 --- a/.github/workflows/deep-report.lock.yml +++ b/.github/workflows/deep-report.lock.yml @@ -593,8 +593,8 @@ # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd # - actions/setup-go@v5 (d35c59abb061a4a6fb18e82ac0862c26744d6ab5) # https://github.com/actions/setup-go/commit/d35c59abb061a4a6fb18e82ac0862c26744d6ab5 -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -864,7 +864,7 @@ jobs: CODEX_API_KEY: ${{ secrets.CODEX_API_KEY }} OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -5288,7 +5288,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -6242,7 +6244,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -6394,7 +6398,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -6432,7 +6438,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -6705,7 +6713,7 @@ jobs: CODEX_API_KEY: ${{ secrets.CODEX_API_KEY }} OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/dependabot-go-checker.lock.yml b/.github/workflows/dependabot-go-checker.lock.yml index c1d9da0014..5cc870fcd1 100644 --- a/.github/workflows/dependabot-go-checker.lock.yml +++ b/.github/workflows/dependabot-go-checker.lock.yml @@ -508,8 +508,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -730,7 +730,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -5386,7 +5386,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -5618,7 +5622,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -6529,7 +6535,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -6619,7 +6627,9 @@ jobs: } const temporaryId = createIssueItem.temporary_id || generateTemporaryId(); core.info( - `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${createIssueItem.body.length}, temporaryId=${temporaryId}, repo=${itemRepo}` + `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${ + createIssueItem.body.length + }, temporaryId=${temporaryId}, repo=${itemRepo}` ); core.info(`Debug: createIssueItem.parent = ${JSON.stringify(createIssueItem.parent)}`); core.info(`Debug: parentIssueNumber from context = ${JSON.stringify(parentIssueNumber)}`); @@ -6791,7 +6801,9 @@ jobs: core.info("✓ Added comment to parent issue #" + effectiveParentIssueNumber + " (sub-issue linking not available)"); } catch (commentError) { core.info( - `Warning: Could not add comment to parent issue: ${commentError instanceof Error ? commentError.message : String(commentError)}` + `Warning: Could not add comment to parent issue: ${ + commentError instanceof Error ? commentError.message : String(commentError) + }` ); } } @@ -7008,7 +7020,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/dev-hawk.lock.yml b/.github/workflows/dev-hawk.lock.yml index d69fc052c7..99b1e9e056 100644 --- a/.github/workflows/dev-hawk.lock.yml +++ b/.github/workflows/dev-hawk.lock.yml @@ -192,8 +192,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -1023,7 +1023,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -5315,7 +5315,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -5547,7 +5551,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -6266,7 +6272,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/dev.lock.yml b/.github/workflows/dev.lock.yml index 7264a689e7..b6300a9285 100644 --- a/.github/workflows/dev.lock.yml +++ b/.github/workflows/dev.lock.yml @@ -73,8 +73,8 @@ # https://github.com/actions/checkout/commit/93cb6efe18208431cddfb8368fd83d5badbf9bfd # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -280,7 +280,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -2545,7 +2545,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; diff --git a/.github/workflows/developer-docs-consolidator.lock.yml b/.github/workflows/developer-docs-consolidator.lock.yml index 260c4eb946..308b82653a 100644 --- a/.github/workflows/developer-docs-consolidator.lock.yml +++ b/.github/workflows/developer-docs-consolidator.lock.yml @@ -762,8 +762,8 @@ # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd # - actions/setup-go@v5 (d35c59abb061a4a6fb18e82ac0862c26744d6ab5) # https://github.com/actions/setup-go/commit/d35c59abb061a4a6fb18e82ac0862c26744d6ab5 -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/setup-python@v5 (a26af69be951a213d495a4c3e4e4022e16d87065) # https://github.com/actions/setup-python/commit/a26af69be951a213d495a4c3e4e4022e16d87065 # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) @@ -1020,7 +1020,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -5639,7 +5639,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -6596,7 +6598,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -6748,7 +6752,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -6786,7 +6792,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -7093,7 +7101,9 @@ jobs: const summary = truncated ? `Show patch preview (${Math.min(maxLines, lines.length)} of ${lines.length} lines)` : `Show patch (${lines.length} lines)`; - return `\n\n
${summary}\n\n\`\`\`diff\n${preview}${truncated ? "\n... (truncated)" : ""}\n\`\`\`\n\n
`; + return `\n\n
${summary}\n\n\`\`\`diff\n${preview}${ + truncated ? "\n... (truncated)" : "" + }\n\`\`\`\n\n
`; } async function main() { core.setOutput("pull_request_number", ""); @@ -7240,7 +7250,9 @@ jobs: const patchStats = fs.readFileSync("/tmp/gh-aw/aw.patch", "utf8"); if (patchStats.trim()) { summaryContent += `**Changes:** Patch file exists with ${patchStats.split("\n").length} lines\n\n`; - summaryContent += `
Show patch preview\n\n\`\`\`diff\n${patchStats.slice(0, 2000)}${patchStats.length > 2000 ? "\n... (truncated)" : ""}\n\`\`\`\n\n
\n\n`; + summaryContent += `
Show patch preview\n\n\`\`\`diff\n${patchStats.slice(0, 2000)}${ + patchStats.length > 2000 ? "\n... (truncated)" : "" + }\n\`\`\`\n\n
\n\n`; } else { summaryContent += `**Changes:** No changes (empty patch)\n\n`; } @@ -7408,7 +7420,9 @@ jobs: return; } catch (issueError) { core.setFailed( - `Failed to push and failed to create fallback issue. Push error: ${pushError instanceof Error ? pushError.message : String(pushError)}. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` + `Failed to push and failed to create fallback issue. Push error: ${ + pushError instanceof Error ? pushError.message : String(pushError) + }. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` ); return; } @@ -7505,7 +7519,9 @@ jobs: .write(); } catch (issueError) { core.setFailed( - `Failed to create both pull request and fallback issue. PR error: ${prError instanceof Error ? prError.message : String(prError)}. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` + `Failed to create both pull request and fallback issue. PR error: ${ + prError instanceof Error ? prError.message : String(prError) + }. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` ); return; } @@ -7683,7 +7699,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/dictation-prompt.lock.yml b/.github/workflows/dictation-prompt.lock.yml index ef988d142b..4e91b6897f 100644 --- a/.github/workflows/dictation-prompt.lock.yml +++ b/.github/workflows/dictation-prompt.lock.yml @@ -236,8 +236,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -454,7 +454,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -4791,7 +4791,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -5023,7 +5027,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -5782,7 +5788,9 @@ jobs: const summary = truncated ? `Show patch preview (${Math.min(maxLines, lines.length)} of ${lines.length} lines)` : `Show patch (${lines.length} lines)`; - return `\n\n
${summary}\n\n\`\`\`diff\n${preview}${truncated ? "\n... (truncated)" : ""}\n\`\`\`\n\n
`; + return `\n\n
${summary}\n\n\`\`\`diff\n${preview}${ + truncated ? "\n... (truncated)" : "" + }\n\`\`\`\n\n
`; } async function main() { core.setOutput("pull_request_number", ""); @@ -5929,7 +5937,9 @@ jobs: const patchStats = fs.readFileSync("/tmp/gh-aw/aw.patch", "utf8"); if (patchStats.trim()) { summaryContent += `**Changes:** Patch file exists with ${patchStats.split("\n").length} lines\n\n`; - summaryContent += `
Show patch preview\n\n\`\`\`diff\n${patchStats.slice(0, 2000)}${patchStats.length > 2000 ? "\n... (truncated)" : ""}\n\`\`\`\n\n
\n\n`; + summaryContent += `
Show patch preview\n\n\`\`\`diff\n${patchStats.slice(0, 2000)}${ + patchStats.length > 2000 ? "\n... (truncated)" : "" + }\n\`\`\`\n\n
\n\n`; } else { summaryContent += `**Changes:** No changes (empty patch)\n\n`; } @@ -6097,7 +6107,9 @@ jobs: return; } catch (issueError) { core.setFailed( - `Failed to push and failed to create fallback issue. Push error: ${pushError instanceof Error ? pushError.message : String(pushError)}. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` + `Failed to push and failed to create fallback issue. Push error: ${ + pushError instanceof Error ? pushError.message : String(pushError) + }. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` ); return; } @@ -6194,7 +6206,9 @@ jobs: .write(); } catch (issueError) { core.setFailed( - `Failed to create both pull request and fallback issue. PR error: ${prError instanceof Error ? prError.message : String(prError)}. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` + `Failed to create both pull request and fallback issue. PR error: ${ + prError instanceof Error ? prError.message : String(prError) + }. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` ); return; } @@ -6372,7 +6386,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/docs-noob-tester.lock.yml b/.github/workflows/docs-noob-tester.lock.yml index 03b7d6adf4..4f5fc41e74 100644 --- a/.github/workflows/docs-noob-tester.lock.yml +++ b/.github/workflows/docs-noob-tester.lock.yml @@ -246,8 +246,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -467,7 +467,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -4862,7 +4862,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -5101,7 +5105,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -6051,7 +6057,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -6203,7 +6211,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -6241,7 +6251,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -6514,7 +6526,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/duplicate-code-detector.lock.yml b/.github/workflows/duplicate-code-detector.lock.yml index 9d10407b1f..a5b1a0e460 100644 --- a/.github/workflows/duplicate-code-detector.lock.yml +++ b/.github/workflows/duplicate-code-detector.lock.yml @@ -295,8 +295,8 @@ # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd # - actions/setup-go@v5 (d35c59abb061a4a6fb18e82ac0862c26744d6ab5) # https://github.com/actions/setup-go/commit/d35c59abb061a4a6fb18e82ac0862c26744d6ab5 -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/setup-python@v5 (a26af69be951a213d495a4c3e4e4022e16d87065) # https://github.com/actions/setup-python/commit/a26af69be951a213d495a4c3e4e4022e16d87065 # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) @@ -530,7 +530,7 @@ jobs: CODEX_API_KEY: ${{ secrets.CODEX_API_KEY }} OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -4656,7 +4656,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -5489,7 +5491,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -5579,7 +5583,9 @@ jobs: } const temporaryId = createIssueItem.temporary_id || generateTemporaryId(); core.info( - `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${createIssueItem.body.length}, temporaryId=${temporaryId}, repo=${itemRepo}` + `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${ + createIssueItem.body.length + }, temporaryId=${temporaryId}, repo=${itemRepo}` ); core.info(`Debug: createIssueItem.parent = ${JSON.stringify(createIssueItem.parent)}`); core.info(`Debug: parentIssueNumber from context = ${JSON.stringify(parentIssueNumber)}`); @@ -5751,7 +5757,9 @@ jobs: core.info("✓ Added comment to parent issue #" + effectiveParentIssueNumber + " (sub-issue linking not available)"); } catch (commentError) { core.info( - `Warning: Could not add comment to parent issue: ${commentError instanceof Error ? commentError.message : String(commentError)}` + `Warning: Could not add comment to parent issue: ${ + commentError instanceof Error ? commentError.message : String(commentError) + }` ); } } @@ -6442,7 +6450,7 @@ jobs: CODEX_API_KEY: ${{ secrets.CODEX_API_KEY }} OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/example-permissions-warning.lock.yml b/.github/workflows/example-permissions-warning.lock.yml index ffe51a44f7..580164e8ca 100644 --- a/.github/workflows/example-permissions-warning.lock.yml +++ b/.github/workflows/example-permissions-warning.lock.yml @@ -65,8 +65,8 @@ # https://github.com/actions/checkout/commit/93cb6efe18208431cddfb8368fd83d5badbf9bfd # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -274,7 +274,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -2275,7 +2275,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -2507,7 +2511,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; diff --git a/.github/workflows/example-workflow-analyzer.lock.yml b/.github/workflows/example-workflow-analyzer.lock.yml index 7d141a6157..0713f99fdc 100644 --- a/.github/workflows/example-workflow-analyzer.lock.yml +++ b/.github/workflows/example-workflow-analyzer.lock.yml @@ -183,8 +183,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -403,7 +403,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -4334,7 +4334,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -5284,7 +5286,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -5436,7 +5440,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -5474,7 +5480,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -5747,7 +5755,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/firewall-escape.lock.yml b/.github/workflows/firewall-escape.lock.yml index 7935b3156a..f376720a6f 100644 --- a/.github/workflows/firewall-escape.lock.yml +++ b/.github/workflows/firewall-escape.lock.yml @@ -269,8 +269,8 @@ # https://github.com/actions/checkout/commit/93cb6efe18208431cddfb8368fd83d5badbf9bfd # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -508,7 +508,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -2696,7 +2696,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -2928,7 +2932,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; diff --git a/.github/workflows/firewall.lock.yml b/.github/workflows/firewall.lock.yml index b8bcd4dd1b..c4d0212bef 100644 --- a/.github/workflows/firewall.lock.yml +++ b/.github/workflows/firewall.lock.yml @@ -84,8 +84,8 @@ # https://github.com/actions/checkout/commit/93cb6efe18208431cddfb8368fd83d5badbf9bfd # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -293,7 +293,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -2323,7 +2323,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -2555,7 +2559,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; diff --git a/.github/workflows/github-mcp-structural-analysis.lock.yml b/.github/workflows/github-mcp-structural-analysis.lock.yml index 7fb24c0c43..ae533ad1ff 100644 --- a/.github/workflows/github-mcp-structural-analysis.lock.yml +++ b/.github/workflows/github-mcp-structural-analysis.lock.yml @@ -750,8 +750,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -1022,7 +1022,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -5572,7 +5572,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -6523,7 +6525,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -6675,7 +6679,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -6713,7 +6719,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -6986,7 +6994,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/github-mcp-tools-report.lock.yml b/.github/workflows/github-mcp-tools-report.lock.yml index 169fcf7c7b..a1578a82e3 100644 --- a/.github/workflows/github-mcp-tools-report.lock.yml +++ b/.github/workflows/github-mcp-tools-report.lock.yml @@ -628,8 +628,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -874,7 +874,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -5345,7 +5345,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -6302,7 +6304,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -6454,7 +6458,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -6492,7 +6498,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -6799,7 +6807,9 @@ jobs: const summary = truncated ? `Show patch preview (${Math.min(maxLines, lines.length)} of ${lines.length} lines)` : `Show patch (${lines.length} lines)`; - return `\n\n
${summary}\n\n\`\`\`diff\n${preview}${truncated ? "\n... (truncated)" : ""}\n\`\`\`\n\n
`; + return `\n\n
${summary}\n\n\`\`\`diff\n${preview}${ + truncated ? "\n... (truncated)" : "" + }\n\`\`\`\n\n
`; } async function main() { core.setOutput("pull_request_number", ""); @@ -6946,7 +6956,9 @@ jobs: const patchStats = fs.readFileSync("/tmp/gh-aw/aw.patch", "utf8"); if (patchStats.trim()) { summaryContent += `**Changes:** Patch file exists with ${patchStats.split("\n").length} lines\n\n`; - summaryContent += `
Show patch preview\n\n\`\`\`diff\n${patchStats.slice(0, 2000)}${patchStats.length > 2000 ? "\n... (truncated)" : ""}\n\`\`\`\n\n
\n\n`; + summaryContent += `
Show patch preview\n\n\`\`\`diff\n${patchStats.slice(0, 2000)}${ + patchStats.length > 2000 ? "\n... (truncated)" : "" + }\n\`\`\`\n\n
\n\n`; } else { summaryContent += `**Changes:** No changes (empty patch)\n\n`; } @@ -7114,7 +7126,9 @@ jobs: return; } catch (issueError) { core.setFailed( - `Failed to push and failed to create fallback issue. Push error: ${pushError instanceof Error ? pushError.message : String(pushError)}. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` + `Failed to push and failed to create fallback issue. Push error: ${ + pushError instanceof Error ? pushError.message : String(pushError) + }. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` ); return; } @@ -7211,7 +7225,9 @@ jobs: .write(); } catch (issueError) { core.setFailed( - `Failed to create both pull request and fallback issue. PR error: ${prError instanceof Error ? prError.message : String(prError)}. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` + `Failed to create both pull request and fallback issue. PR error: ${ + prError instanceof Error ? prError.message : String(prError) + }. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` ); return; } @@ -7440,7 +7456,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/glossary-maintainer.lock.yml b/.github/workflows/glossary-maintainer.lock.yml index 435da18080..3c3278ce94 100644 --- a/.github/workflows/glossary-maintainer.lock.yml +++ b/.github/workflows/glossary-maintainer.lock.yml @@ -706,8 +706,8 @@ # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd # - actions/setup-go@v5 (d35c59abb061a4a6fb18e82ac0862c26744d6ab5) # https://github.com/actions/setup-go/commit/d35c59abb061a4a6fb18e82ac0862c26744d6ab5 -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/setup-python@v5 (a26af69be951a213d495a4c3e4e4022e16d87065) # https://github.com/actions/setup-python/commit/a26af69be951a213d495a4c3e4e4022e16d87065 # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) @@ -963,7 +963,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -5819,7 +5819,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -6051,7 +6055,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -6810,7 +6816,9 @@ jobs: const summary = truncated ? `Show patch preview (${Math.min(maxLines, lines.length)} of ${lines.length} lines)` : `Show patch (${lines.length} lines)`; - return `\n\n
${summary}\n\n\`\`\`diff\n${preview}${truncated ? "\n... (truncated)" : ""}\n\`\`\`\n\n
`; + return `\n\n
${summary}\n\n\`\`\`diff\n${preview}${ + truncated ? "\n... (truncated)" : "" + }\n\`\`\`\n\n
`; } async function main() { core.setOutput("pull_request_number", ""); @@ -6957,7 +6965,9 @@ jobs: const patchStats = fs.readFileSync("/tmp/gh-aw/aw.patch", "utf8"); if (patchStats.trim()) { summaryContent += `**Changes:** Patch file exists with ${patchStats.split("\n").length} lines\n\n`; - summaryContent += `
Show patch preview\n\n\`\`\`diff\n${patchStats.slice(0, 2000)}${patchStats.length > 2000 ? "\n... (truncated)" : ""}\n\`\`\`\n\n
\n\n`; + summaryContent += `
Show patch preview\n\n\`\`\`diff\n${patchStats.slice(0, 2000)}${ + patchStats.length > 2000 ? "\n... (truncated)" : "" + }\n\`\`\`\n\n
\n\n`; } else { summaryContent += `**Changes:** No changes (empty patch)\n\n`; } @@ -7125,7 +7135,9 @@ jobs: return; } catch (issueError) { core.setFailed( - `Failed to push and failed to create fallback issue. Push error: ${pushError instanceof Error ? pushError.message : String(pushError)}. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` + `Failed to push and failed to create fallback issue. Push error: ${ + pushError instanceof Error ? pushError.message : String(pushError) + }. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` ); return; } @@ -7222,7 +7234,9 @@ jobs: .write(); } catch (issueError) { core.setFailed( - `Failed to create both pull request and fallback issue. PR error: ${prError instanceof Error ? prError.message : String(prError)}. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` + `Failed to create both pull request and fallback issue. PR error: ${ + prError instanceof Error ? prError.message : String(prError) + }. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` ); return; } @@ -7400,7 +7414,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/go-fan.lock.yml b/.github/workflows/go-fan.lock.yml index 1cf567b5ce..297913ad01 100644 --- a/.github/workflows/go-fan.lock.yml +++ b/.github/workflows/go-fan.lock.yml @@ -451,8 +451,8 @@ # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd # - actions/setup-go@v5 (d35c59abb061a4a6fb18e82ac0862c26744d6ab5) # https://github.com/actions/setup-go/commit/d35c59abb061a4a6fb18e82ac0862c26744d6ab5 -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/setup-python@v5 (a26af69be951a213d495a4c3e4e4022e16d87065) # https://github.com/actions/setup-python/commit/a26af69be951a213d495a4c3e4e4022e16d87065 # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) @@ -708,7 +708,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -4948,7 +4948,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -5902,7 +5904,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -6054,7 +6058,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -6092,7 +6098,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -6365,7 +6373,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/go-logger.lock.yml b/.github/workflows/go-logger.lock.yml index d54302dcd5..c757ecbc42 100644 --- a/.github/workflows/go-logger.lock.yml +++ b/.github/workflows/go-logger.lock.yml @@ -369,8 +369,8 @@ # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd # - actions/setup-go@v5 (d35c59abb061a4a6fb18e82ac0862c26744d6ab5) # https://github.com/actions/setup-go/commit/d35c59abb061a4a6fb18e82ac0862c26744d6ab5 -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -509,7 +509,7 @@ jobs: with: persist-credentials: false - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' cache: 'npm' @@ -623,7 +623,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -4781,7 +4781,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -5540,7 +5542,9 @@ jobs: const summary = truncated ? `Show patch preview (${Math.min(maxLines, lines.length)} of ${lines.length} lines)` : `Show patch (${lines.length} lines)`; - return `\n\n
${summary}\n\n\`\`\`diff\n${preview}${truncated ? "\n... (truncated)" : ""}\n\`\`\`\n\n
`; + return `\n\n
${summary}\n\n\`\`\`diff\n${preview}${ + truncated ? "\n... (truncated)" : "" + }\n\`\`\`\n\n
`; } async function main() { core.setOutput("pull_request_number", ""); @@ -5687,7 +5691,9 @@ jobs: const patchStats = fs.readFileSync("/tmp/gh-aw/aw.patch", "utf8"); if (patchStats.trim()) { summaryContent += `**Changes:** Patch file exists with ${patchStats.split("\n").length} lines\n\n`; - summaryContent += `
Show patch preview\n\n\`\`\`diff\n${patchStats.slice(0, 2000)}${patchStats.length > 2000 ? "\n... (truncated)" : ""}\n\`\`\`\n\n
\n\n`; + summaryContent += `
Show patch preview\n\n\`\`\`diff\n${patchStats.slice(0, 2000)}${ + patchStats.length > 2000 ? "\n... (truncated)" : "" + }\n\`\`\`\n\n
\n\n`; } else { summaryContent += `**Changes:** No changes (empty patch)\n\n`; } @@ -5855,7 +5861,9 @@ jobs: return; } catch (issueError) { core.setFailed( - `Failed to push and failed to create fallback issue. Push error: ${pushError instanceof Error ? pushError.message : String(pushError)}. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` + `Failed to push and failed to create fallback issue. Push error: ${ + pushError instanceof Error ? pushError.message : String(pushError) + }. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` ); return; } @@ -5952,7 +5960,9 @@ jobs: .write(); } catch (issueError) { core.setFailed( - `Failed to create both pull request and fallback issue. PR error: ${prError instanceof Error ? prError.message : String(prError)}. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` + `Failed to create both pull request and fallback issue. PR error: ${ + prError instanceof Error ? prError.message : String(prError) + }. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` ); return; } @@ -6130,7 +6140,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/go-pattern-detector.lock.yml b/.github/workflows/go-pattern-detector.lock.yml index fe3488b1ec..4f18a04dc0 100644 --- a/.github/workflows/go-pattern-detector.lock.yml +++ b/.github/workflows/go-pattern-detector.lock.yml @@ -255,8 +255,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -476,7 +476,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -4464,7 +4464,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -5329,7 +5331,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -5419,7 +5423,9 @@ jobs: } const temporaryId = createIssueItem.temporary_id || generateTemporaryId(); core.info( - `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${createIssueItem.body.length}, temporaryId=${temporaryId}, repo=${itemRepo}` + `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${ + createIssueItem.body.length + }, temporaryId=${temporaryId}, repo=${itemRepo}` ); core.info(`Debug: createIssueItem.parent = ${JSON.stringify(createIssueItem.parent)}`); core.info(`Debug: parentIssueNumber from context = ${JSON.stringify(parentIssueNumber)}`); @@ -5591,7 +5597,9 @@ jobs: core.info("✓ Added comment to parent issue #" + effectiveParentIssueNumber + " (sub-issue linking not available)"); } catch (commentError) { core.info( - `Warning: Could not add comment to parent issue: ${commentError instanceof Error ? commentError.message : String(commentError)}` + `Warning: Could not add comment to parent issue: ${ + commentError instanceof Error ? commentError.message : String(commentError) + }` ); } } @@ -5808,7 +5816,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/grumpy-reviewer.lock.yml b/.github/workflows/grumpy-reviewer.lock.yml index 44b5012d7e..858bb833f1 100644 --- a/.github/workflows/grumpy-reviewer.lock.yml +++ b/.github/workflows/grumpy-reviewer.lock.yml @@ -210,8 +210,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -1819,7 +1819,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -6221,7 +6221,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -6453,7 +6457,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -7221,7 +7227,9 @@ jobs: for (let i = 0; i < reviewCommentItems.length; i++) { const commentItem = reviewCommentItems[i]; core.info( - `Processing create-pull-request-review-comment item ${i + 1}/${reviewCommentItems.length}: bodyLength=${commentItem.body ? commentItem.body.length : "undefined"}, path=${commentItem.path}, line=${commentItem.line}, startLine=${commentItem.start_line}` + `Processing create-pull-request-review-comment item ${i + 1}/${reviewCommentItems.length}: bodyLength=${ + commentItem.body ? commentItem.body.length : "undefined" + }, path=${commentItem.path}, line=${commentItem.line}, startLine=${commentItem.start_line}` ); if (!commentItem.path) { core.info('Missing required field "path" in review comment item'); @@ -7327,7 +7335,9 @@ jobs: triggeringDiscussionNumber ); core.info( - `Creating review comment on PR #${pullRequestNumber} at ${commentItem.path}:${line}${startLine ? ` (lines ${startLine}-${line})` : ""} [${side}]` + `Creating review comment on PR #${pullRequestNumber} at ${commentItem.path}:${line}${ + startLine ? ` (lines ${startLine}-${line})` : "" + } [${side}]` ); core.info(`Comment content length: ${body.length}`); try { @@ -7537,7 +7547,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/instructions-janitor.lock.yml b/.github/workflows/instructions-janitor.lock.yml index 2caf55be7a..313f1afe0f 100644 --- a/.github/workflows/instructions-janitor.lock.yml +++ b/.github/workflows/instructions-janitor.lock.yml @@ -254,8 +254,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -492,7 +492,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -4546,7 +4546,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -5305,7 +5307,9 @@ jobs: const summary = truncated ? `Show patch preview (${Math.min(maxLines, lines.length)} of ${lines.length} lines)` : `Show patch (${lines.length} lines)`; - return `\n\n
${summary}\n\n\`\`\`diff\n${preview}${truncated ? "\n... (truncated)" : ""}\n\`\`\`\n\n
`; + return `\n\n
${summary}\n\n\`\`\`diff\n${preview}${ + truncated ? "\n... (truncated)" : "" + }\n\`\`\`\n\n
`; } async function main() { core.setOutput("pull_request_number", ""); @@ -5452,7 +5456,9 @@ jobs: const patchStats = fs.readFileSync("/tmp/gh-aw/aw.patch", "utf8"); if (patchStats.trim()) { summaryContent += `**Changes:** Patch file exists with ${patchStats.split("\n").length} lines\n\n`; - summaryContent += `
Show patch preview\n\n\`\`\`diff\n${patchStats.slice(0, 2000)}${patchStats.length > 2000 ? "\n... (truncated)" : ""}\n\`\`\`\n\n
\n\n`; + summaryContent += `
Show patch preview\n\n\`\`\`diff\n${patchStats.slice(0, 2000)}${ + patchStats.length > 2000 ? "\n... (truncated)" : "" + }\n\`\`\`\n\n
\n\n`; } else { summaryContent += `**Changes:** No changes (empty patch)\n\n`; } @@ -5620,7 +5626,9 @@ jobs: return; } catch (issueError) { core.setFailed( - `Failed to push and failed to create fallback issue. Push error: ${pushError instanceof Error ? pushError.message : String(pushError)}. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` + `Failed to push and failed to create fallback issue. Push error: ${ + pushError instanceof Error ? pushError.message : String(pushError) + }. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` ); return; } @@ -5717,7 +5725,9 @@ jobs: .write(); } catch (issueError) { core.setFailed( - `Failed to create both pull request and fallback issue. PR error: ${prError instanceof Error ? prError.message : String(prError)}. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` + `Failed to create both pull request and fallback issue. PR error: ${ + prError instanceof Error ? prError.message : String(prError) + }. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` ); return; } @@ -5895,7 +5905,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/issue-arborist.lock.yml b/.github/workflows/issue-arborist.lock.yml index 3b12779509..e16d4e328e 100644 --- a/.github/workflows/issue-arborist.lock.yml +++ b/.github/workflows/issue-arborist.lock.yml @@ -330,8 +330,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -554,7 +554,7 @@ jobs: CODEX_API_KEY: ${{ secrets.CODEX_API_KEY }} OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -4670,7 +4670,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -5621,7 +5623,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -5773,7 +5777,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -5811,7 +5817,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -6084,7 +6092,7 @@ jobs: CODEX_API_KEY: ${{ secrets.CODEX_API_KEY }} OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/issue-monster.lock.yml b/.github/workflows/issue-monster.lock.yml index 8f2ce3b505..c327d01fb6 100644 --- a/.github/workflows/issue-monster.lock.yml +++ b/.github/workflows/issue-monster.lock.yml @@ -320,8 +320,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -1147,7 +1147,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -5517,7 +5517,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -5749,7 +5753,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -6313,7 +6319,9 @@ jobs: content += `**Custom Agent:** ${item.custom_agent}\n`; } if (item.custom_instructions) { - content += `**Custom Instructions:** ${item.custom_instructions.substring(0, 100)}${item.custom_instructions.length > 100 ? "..." : ""}\n`; + content += `**Custom Instructions:** ${item.custom_instructions.substring(0, 100)}${ + item.custom_instructions.length > 100 ? "..." : "" + }\n`; } content += "\n"; return content; @@ -7129,7 +7137,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/issue-triage-agent.lock.yml b/.github/workflows/issue-triage-agent.lock.yml index d864c0adf1..dd107009ce 100644 --- a/.github/workflows/issue-triage-agent.lock.yml +++ b/.github/workflows/issue-triage-agent.lock.yml @@ -65,8 +65,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -798,7 +798,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -4958,7 +4958,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -5190,7 +5194,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -5908,7 +5914,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/lockfile-stats.lock.yml b/.github/workflows/lockfile-stats.lock.yml index 3fcc912c04..4e88804606 100644 --- a/.github/workflows/lockfile-stats.lock.yml +++ b/.github/workflows/lockfile-stats.lock.yml @@ -489,8 +489,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -727,7 +727,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -4993,7 +4993,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -5942,7 +5944,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -6094,7 +6098,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -6132,7 +6138,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -6405,7 +6413,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/mcp-inspector.lock.yml b/.github/workflows/mcp-inspector.lock.yml index 7c026ec592..9f78fed945 100644 --- a/.github/workflows/mcp-inspector.lock.yml +++ b/.github/workflows/mcp-inspector.lock.yml @@ -388,8 +388,8 @@ # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd # - actions/setup-go@v5 (d35c59abb061a4a6fb18e82ac0862c26744d6ab5) # https://github.com/actions/setup-go/commit/d35c59abb061a4a6fb18e82ac0862c26744d6ab5 -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/setup-python@v5 (a26af69be951a213d495a4c3e4e4022e16d87065) # https://github.com/actions/setup-python/commit/a26af69be951a213d495a4c3e4e4022e16d87065 # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) @@ -539,7 +539,7 @@ jobs: go-version-file: go.mod cache: true - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -661,7 +661,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -5457,7 +5457,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -5689,7 +5693,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -6638,7 +6644,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -6790,7 +6798,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -6828,7 +6838,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -7101,7 +7113,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/mergefest.lock.yml b/.github/workflows/mergefest.lock.yml index c6204a9ff1..67b67f2277 100644 --- a/.github/workflows/mergefest.lock.yml +++ b/.github/workflows/mergefest.lock.yml @@ -400,8 +400,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -1023,7 +1023,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -5557,7 +5557,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -5789,7 +5793,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -6512,7 +6518,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -7044,7 +7050,9 @@ jobs: const patchStats = fs.readFileSync("/tmp/gh-aw/aw.patch", "utf8"); if (patchStats.trim()) { content += `**Changes:** Patch file exists with ${patchStats.split("\n").length} lines\n\n`; - content += `
Show patch preview\n\n\`\`\`diff\n${patchStats.slice(0, 2000)}${patchStats.length > 2000 ? "\n... (truncated)" : ""}\n\`\`\`\n\n
\n\n`; + content += `
Show patch preview\n\n\`\`\`diff\n${patchStats.slice(0, 2000)}${ + patchStats.length > 2000 ? "\n... (truncated)" : "" + }\n\`\`\`\n\n
\n\n`; } else { content += `**Changes:** No changes (empty patch)\n\n`; } @@ -7136,7 +7144,9 @@ jobs: await exec.exec(`git rev-parse --verify origin/${branchName}`); } catch (verifyError) { core.setFailed( - `Branch ${branchName} does not exist on origin, can't push to it: ${verifyError instanceof Error ? verifyError.message : String(verifyError)}` + `Branch ${branchName} does not exist on origin, can't push to it: ${ + verifyError instanceof Error ? verifyError.message : String(verifyError) + }` ); return; } diff --git a/.github/workflows/notion-issue-summary.lock.yml b/.github/workflows/notion-issue-summary.lock.yml index 6a6976b929..15d1876915 100644 --- a/.github/workflows/notion-issue-summary.lock.yml +++ b/.github/workflows/notion-issue-summary.lock.yml @@ -82,8 +82,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -303,7 +303,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -4460,7 +4460,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -4692,7 +4696,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -5409,7 +5415,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/org-health-report.lock.yml b/.github/workflows/org-health-report.lock.yml index 322f1ae4eb..43f9371d05 100644 --- a/.github/workflows/org-health-report.lock.yml +++ b/.github/workflows/org-health-report.lock.yml @@ -961,8 +961,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -1231,7 +1231,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -6319,7 +6319,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -6558,7 +6562,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -7508,7 +7514,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -7660,7 +7668,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -7698,7 +7708,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -7971,7 +7983,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/pdf-summary.lock.yml b/.github/workflows/pdf-summary.lock.yml index 47b5255c2c..47019501b3 100644 --- a/.github/workflows/pdf-summary.lock.yml +++ b/.github/workflows/pdf-summary.lock.yml @@ -246,8 +246,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/setup-python@v5 (a26af69be951a213d495a4c3e4e4022e16d87065) # https://github.com/actions/setup-python/commit/a26af69be951a213d495a4c3e4e4022e16d87065 # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) @@ -1879,7 +1879,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -6240,7 +6240,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -6472,7 +6476,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -7189,7 +7195,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/plan.lock.yml b/.github/workflows/plan.lock.yml index 16b3eea0e1..1ab617204a 100644 --- a/.github/workflows/plan.lock.yml +++ b/.github/workflows/plan.lock.yml @@ -194,8 +194,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -1183,7 +1183,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -5569,7 +5569,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -5801,7 +5805,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -6113,7 +6119,9 @@ jobs: const requiredCategory = process.env.GH_AW_CLOSE_DISCUSSION_REQUIRED_CATEGORY || ""; const target = process.env.GH_AW_CLOSE_DISCUSSION_TARGET || "triggering"; core.info( - `Configuration: requiredLabels=${requiredLabels.join(",")}, requiredTitlePrefix=${requiredTitlePrefix}, requiredCategory=${requiredCategory}, target=${target}` + `Configuration: requiredLabels=${requiredLabels.join( + "," + )}, requiredTitlePrefix=${requiredTitlePrefix}, requiredCategory=${requiredCategory}, target=${target}` ); const isDiscussionContext = context.eventName === "discussion" || context.eventName === "discussion_comment"; if (isStaged) { @@ -7006,7 +7014,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -7096,7 +7106,9 @@ jobs: } const temporaryId = createIssueItem.temporary_id || generateTemporaryId(); core.info( - `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${createIssueItem.body.length}, temporaryId=${temporaryId}, repo=${itemRepo}` + `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${ + createIssueItem.body.length + }, temporaryId=${temporaryId}, repo=${itemRepo}` ); core.info(`Debug: createIssueItem.parent = ${JSON.stringify(createIssueItem.parent)}`); core.info(`Debug: parentIssueNumber from context = ${JSON.stringify(parentIssueNumber)}`); @@ -7268,7 +7280,9 @@ jobs: core.info("✓ Added comment to parent issue #" + effectiveParentIssueNumber + " (sub-issue linking not available)"); } catch (commentError) { core.info( - `Warning: Could not add comment to parent issue: ${commentError instanceof Error ? commentError.message : String(commentError)}` + `Warning: Could not add comment to parent issue: ${ + commentError instanceof Error ? commentError.message : String(commentError) + }` ); } } @@ -7483,7 +7497,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/poem-bot.lock.yml b/.github/workflows/poem-bot.lock.yml index 36fdb7d4bc..251cd5f763 100644 --- a/.github/workflows/poem-bot.lock.yml +++ b/.github/workflows/poem-bot.lock.yml @@ -287,8 +287,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -2481,7 +2481,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -7298,7 +7298,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -7537,7 +7541,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -8779,7 +8785,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -8931,7 +8939,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -8969,7 +8979,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -9358,7 +9370,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -9448,7 +9462,9 @@ jobs: } const temporaryId = createIssueItem.temporary_id || generateTemporaryId(); core.info( - `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${createIssueItem.body.length}, temporaryId=${temporaryId}, repo=${itemRepo}` + `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${ + createIssueItem.body.length + }, temporaryId=${temporaryId}, repo=${itemRepo}` ); core.info(`Debug: createIssueItem.parent = ${JSON.stringify(createIssueItem.parent)}`); core.info(`Debug: parentIssueNumber from context = ${JSON.stringify(parentIssueNumber)}`); @@ -9620,7 +9636,9 @@ jobs: core.info("✓ Added comment to parent issue #" + effectiveParentIssueNumber + " (sub-issue linking not available)"); } catch (commentError) { core.info( - `Warning: Could not add comment to parent issue: ${commentError instanceof Error ? commentError.message : String(commentError)}` + `Warning: Could not add comment to parent issue: ${ + commentError instanceof Error ? commentError.message : String(commentError) + }` ); } } @@ -9887,7 +9905,9 @@ jobs: for (let i = 0; i < reviewCommentItems.length; i++) { const commentItem = reviewCommentItems[i]; core.info( - `Processing create-pull-request-review-comment item ${i + 1}/${reviewCommentItems.length}: bodyLength=${commentItem.body ? commentItem.body.length : "undefined"}, path=${commentItem.path}, line=${commentItem.line}, startLine=${commentItem.start_line}` + `Processing create-pull-request-review-comment item ${i + 1}/${reviewCommentItems.length}: bodyLength=${ + commentItem.body ? commentItem.body.length : "undefined" + }, path=${commentItem.path}, line=${commentItem.line}, startLine=${commentItem.start_line}` ); if (!commentItem.path) { core.info('Missing required field "path" in review comment item'); @@ -9993,7 +10013,9 @@ jobs: triggeringDiscussionNumber ); core.info( - `Creating review comment on PR #${pullRequestNumber} at ${commentItem.path}:${line}${startLine ? ` (lines ${startLine}-${line})` : ""} [${side}]` + `Creating review comment on PR #${pullRequestNumber} at ${commentItem.path}:${line}${ + startLine ? ` (lines ${startLine}-${line})` : "" + } [${side}]` ); core.info(`Comment content length: ${body.length}`); try { @@ -10244,7 +10266,9 @@ jobs: const summary = truncated ? `Show patch preview (${Math.min(maxLines, lines.length)} of ${lines.length} lines)` : `Show patch (${lines.length} lines)`; - return `\n\n
${summary}\n\n\`\`\`diff\n${preview}${truncated ? "\n... (truncated)" : ""}\n\`\`\`\n\n
`; + return `\n\n
${summary}\n\n\`\`\`diff\n${preview}${ + truncated ? "\n... (truncated)" : "" + }\n\`\`\`\n\n
`; } async function main() { core.setOutput("pull_request_number", ""); @@ -10391,7 +10415,9 @@ jobs: const patchStats = fs.readFileSync("/tmp/gh-aw/aw.patch", "utf8"); if (patchStats.trim()) { summaryContent += `**Changes:** Patch file exists with ${patchStats.split("\n").length} lines\n\n`; - summaryContent += `
Show patch preview\n\n\`\`\`diff\n${patchStats.slice(0, 2000)}${patchStats.length > 2000 ? "\n... (truncated)" : ""}\n\`\`\`\n\n
\n\n`; + summaryContent += `
Show patch preview\n\n\`\`\`diff\n${patchStats.slice(0, 2000)}${ + patchStats.length > 2000 ? "\n... (truncated)" : "" + }\n\`\`\`\n\n
\n\n`; } else { summaryContent += `**Changes:** No changes (empty patch)\n\n`; } @@ -10559,7 +10585,9 @@ jobs: return; } catch (issueError) { core.setFailed( - `Failed to push and failed to create fallback issue. Push error: ${pushError instanceof Error ? pushError.message : String(pushError)}. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` + `Failed to push and failed to create fallback issue. Push error: ${ + pushError instanceof Error ? pushError.message : String(pushError) + }. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` ); return; } @@ -10656,7 +10684,9 @@ jobs: .write(); } catch (issueError) { core.setFailed( - `Failed to create both pull request and fallback issue. PR error: ${prError instanceof Error ? prError.message : String(prError)}. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` + `Failed to create both pull request and fallback issue. PR error: ${ + prError instanceof Error ? prError.message : String(prError) + }. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` ); return; } @@ -10883,7 +10913,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -11911,7 +11941,9 @@ jobs: const patchStats = fs.readFileSync("/tmp/gh-aw/aw.patch", "utf8"); if (patchStats.trim()) { content += `**Changes:** Patch file exists with ${patchStats.split("\n").length} lines\n\n`; - content += `
Show patch preview\n\n\`\`\`diff\n${patchStats.slice(0, 2000)}${patchStats.length > 2000 ? "\n... (truncated)" : ""}\n\`\`\`\n\n
\n\n`; + content += `
Show patch preview\n\n\`\`\`diff\n${patchStats.slice(0, 2000)}${ + patchStats.length > 2000 ? "\n... (truncated)" : "" + }\n\`\`\`\n\n
\n\n`; } else { content += `**Changes:** No changes (empty patch)\n\n`; } @@ -12003,7 +12035,9 @@ jobs: await exec.exec(`git rev-parse --verify origin/${branchName}`); } catch (verifyError) { core.setFailed( - `Branch ${branchName} does not exist on origin, can't push to it: ${verifyError instanceof Error ? verifyError.message : String(verifyError)}` + `Branch ${branchName} does not exist on origin, can't push to it: ${ + verifyError instanceof Error ? verifyError.message : String(verifyError) + }` ); return; } diff --git a/.github/workflows/pr-nitpick-reviewer.lock.yml b/.github/workflows/pr-nitpick-reviewer.lock.yml index 1846100f19..df55e815f1 100644 --- a/.github/workflows/pr-nitpick-reviewer.lock.yml +++ b/.github/workflows/pr-nitpick-reviewer.lock.yml @@ -529,8 +529,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -1803,7 +1803,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -6564,7 +6564,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -6796,7 +6800,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -7749,7 +7755,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -7901,7 +7909,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -7939,7 +7949,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -8260,7 +8272,9 @@ jobs: for (let i = 0; i < reviewCommentItems.length; i++) { const commentItem = reviewCommentItems[i]; core.info( - `Processing create-pull-request-review-comment item ${i + 1}/${reviewCommentItems.length}: bodyLength=${commentItem.body ? commentItem.body.length : "undefined"}, path=${commentItem.path}, line=${commentItem.line}, startLine=${commentItem.start_line}` + `Processing create-pull-request-review-comment item ${i + 1}/${reviewCommentItems.length}: bodyLength=${ + commentItem.body ? commentItem.body.length : "undefined" + }, path=${commentItem.path}, line=${commentItem.line}, startLine=${commentItem.start_line}` ); if (!commentItem.path) { core.info('Missing required field "path" in review comment item'); @@ -8366,7 +8380,9 @@ jobs: triggeringDiscussionNumber ); core.info( - `Creating review comment on PR #${pullRequestNumber} at ${commentItem.path}:${line}${startLine ? ` (lines ${startLine}-${line})` : ""} [${side}]` + `Creating review comment on PR #${pullRequestNumber} at ${commentItem.path}:${line}${ + startLine ? ` (lines ${startLine}-${line})` : "" + } [${side}]` ); core.info(`Comment content length: ${body.length}`); try { @@ -8576,7 +8592,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/prompt-clustering-analysis.lock.yml b/.github/workflows/prompt-clustering-analysis.lock.yml index ee2de83c65..6dd2b76f8e 100644 --- a/.github/workflows/prompt-clustering-analysis.lock.yml +++ b/.github/workflows/prompt-clustering-analysis.lock.yml @@ -1105,8 +1105,8 @@ # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd # - actions/setup-go@v5 (d35c59abb061a4a6fb18e82ac0862c26744d6ab5) # https://github.com/actions/setup-go/commit/d35c59abb061a4a6fb18e82ac0862c26744d6ab5 -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -1411,7 +1411,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -6202,7 +6202,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -7152,7 +7154,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -7304,7 +7308,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -7342,7 +7348,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -7615,7 +7623,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/python-data-charts.lock.yml b/.github/workflows/python-data-charts.lock.yml index da9697cf71..6901a064be 100644 --- a/.github/workflows/python-data-charts.lock.yml +++ b/.github/workflows/python-data-charts.lock.yml @@ -1053,8 +1053,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -1317,7 +1317,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -6553,7 +6553,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -6792,7 +6796,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -7741,7 +7747,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -7893,7 +7901,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -7931,7 +7941,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -8204,7 +8216,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/q.lock.yml b/.github/workflows/q.lock.yml index e2d1bc8189..01e366c681 100644 --- a/.github/workflows/q.lock.yml +++ b/.github/workflows/q.lock.yml @@ -471,8 +471,8 @@ # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd # - actions/setup-go@v5 (d35c59abb061a4a6fb18e82ac0862c26744d6ab5) # https://github.com/actions/setup-go/commit/d35c59abb061a4a6fb18e82ac0862c26744d6ab5 -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/setup-python@v5 (a26af69be951a213d495a4c3e4e4022e16d87065) # https://github.com/actions/setup-python/commit/a26af69be951a213d495a4c3e4e4022e16d87065 # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) @@ -2136,7 +2136,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -6821,7 +6821,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -7053,7 +7057,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -7817,7 +7823,9 @@ jobs: const summary = truncated ? `Show patch preview (${Math.min(maxLines, lines.length)} of ${lines.length} lines)` : `Show patch (${lines.length} lines)`; - return `\n\n
${summary}\n\n\`\`\`diff\n${preview}${truncated ? "\n... (truncated)" : ""}\n\`\`\`\n\n
`; + return `\n\n
${summary}\n\n\`\`\`diff\n${preview}${ + truncated ? "\n... (truncated)" : "" + }\n\`\`\`\n\n
`; } async function main() { core.setOutput("pull_request_number", ""); @@ -7964,7 +7972,9 @@ jobs: const patchStats = fs.readFileSync("/tmp/gh-aw/aw.patch", "utf8"); if (patchStats.trim()) { summaryContent += `**Changes:** Patch file exists with ${patchStats.split("\n").length} lines\n\n`; - summaryContent += `
Show patch preview\n\n\`\`\`diff\n${patchStats.slice(0, 2000)}${patchStats.length > 2000 ? "\n... (truncated)" : ""}\n\`\`\`\n\n
\n\n`; + summaryContent += `
Show patch preview\n\n\`\`\`diff\n${patchStats.slice(0, 2000)}${ + patchStats.length > 2000 ? "\n... (truncated)" : "" + }\n\`\`\`\n\n
\n\n`; } else { summaryContent += `**Changes:** No changes (empty patch)\n\n`; } @@ -8132,7 +8142,9 @@ jobs: return; } catch (issueError) { core.setFailed( - `Failed to push and failed to create fallback issue. Push error: ${pushError instanceof Error ? pushError.message : String(pushError)}. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` + `Failed to push and failed to create fallback issue. Push error: ${ + pushError instanceof Error ? pushError.message : String(pushError) + }. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` ); return; } @@ -8229,7 +8241,9 @@ jobs: .write(); } catch (issueError) { core.setFailed( - `Failed to create both pull request and fallback issue. PR error: ${prError instanceof Error ? prError.message : String(prError)}. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` + `Failed to create both pull request and fallback issue. PR error: ${ + prError instanceof Error ? prError.message : String(prError) + }. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` ); return; } @@ -8456,7 +8470,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/release.lock.yml b/.github/workflows/release.lock.yml index 8281cd730d..304802581c 100644 --- a/.github/workflows/release.lock.yml +++ b/.github/workflows/release.lock.yml @@ -311,8 +311,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 # - cli/gh-extension-precompile@v2 (9e2237c30f869ad3bcaed6a4be2cd43564dd421b) @@ -541,7 +541,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -4857,7 +4857,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -5089,7 +5093,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -5805,7 +5811,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/repo-tree-map.lock.yml b/.github/workflows/repo-tree-map.lock.yml index 7ef7088eee..90867c49db 100644 --- a/.github/workflows/repo-tree-map.lock.yml +++ b/.github/workflows/repo-tree-map.lock.yml @@ -274,8 +274,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -492,7 +492,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -4864,7 +4864,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -5096,7 +5100,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -6045,7 +6051,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -6197,7 +6205,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -6235,7 +6245,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -6508,7 +6520,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/repository-quality-improver.lock.yml b/.github/workflows/repository-quality-improver.lock.yml index cbfc937887..7590e4d142 100644 --- a/.github/workflows/repository-quality-improver.lock.yml +++ b/.github/workflows/repository-quality-improver.lock.yml @@ -693,8 +693,8 @@ # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd # - actions/setup-go@v5 (d35c59abb061a4a6fb18e82ac0862c26744d6ab5) # https://github.com/actions/setup-go/commit/d35c59abb061a4a6fb18e82ac0862c26744d6ab5 -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/setup-python@v5 (a26af69be951a213d495a4c3e4e4022e16d87065) # https://github.com/actions/setup-python/commit/a26af69be951a213d495a4c3e4e4022e16d87065 # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) @@ -948,7 +948,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -5772,7 +5772,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -6004,7 +6008,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -6953,7 +6959,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -7105,7 +7113,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -7143,7 +7153,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -7416,7 +7428,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/research.lock.yml b/.github/workflows/research.lock.yml index 80b088a2fb..67e0e82866 100644 --- a/.github/workflows/research.lock.yml +++ b/.github/workflows/research.lock.yml @@ -193,8 +193,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -414,7 +414,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -4710,7 +4710,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -4942,7 +4946,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -5890,7 +5896,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -6042,7 +6050,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -6080,7 +6090,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -6353,7 +6365,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/safe-output-health.lock.yml b/.github/workflows/safe-output-health.lock.yml index 505b3d61c0..5d7ed729df 100644 --- a/.github/workflows/safe-output-health.lock.yml +++ b/.github/workflows/safe-output-health.lock.yml @@ -592,8 +592,8 @@ # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd # - actions/setup-go@v5 (d35c59abb061a4a6fb18e82ac0862c26744d6ab5) # https://github.com/actions/setup-go/commit/d35c59abb061a4a6fb18e82ac0862c26744d6ab5 -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -852,7 +852,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -5225,7 +5225,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -6174,7 +6176,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -6326,7 +6330,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -6364,7 +6370,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -6637,7 +6645,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/schema-consistency-checker.lock.yml b/.github/workflows/schema-consistency-checker.lock.yml index 364b0bbbee..963fbccedd 100644 --- a/.github/workflows/schema-consistency-checker.lock.yml +++ b/.github/workflows/schema-consistency-checker.lock.yml @@ -499,8 +499,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -741,7 +741,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -5003,7 +5003,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -5953,7 +5955,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -6105,7 +6109,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -6143,7 +6149,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -6416,7 +6424,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/scout.lock.yml b/.github/workflows/scout.lock.yml index 34ff54304a..ca7e5e0b8d 100644 --- a/.github/workflows/scout.lock.yml +++ b/.github/workflows/scout.lock.yml @@ -426,8 +426,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/setup-python@v5 (a26af69be951a213d495a4c3e4e4022e16d87065) # https://github.com/actions/setup-python/commit/a26af69be951a213d495a4c3e4e4022e16d87065 # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) @@ -2080,7 +2080,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -6348,7 +6348,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -7065,7 +7067,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/security-fix-pr.lock.yml b/.github/workflows/security-fix-pr.lock.yml index b5f8d9fc25..c517c55e02 100644 --- a/.github/workflows/security-fix-pr.lock.yml +++ b/.github/workflows/security-fix-pr.lock.yml @@ -223,8 +223,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -469,7 +469,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -4484,7 +4484,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -5243,7 +5245,9 @@ jobs: const summary = truncated ? `Show patch preview (${Math.min(maxLines, lines.length)} of ${lines.length} lines)` : `Show patch (${lines.length} lines)`; - return `\n\n
${summary}\n\n\`\`\`diff\n${preview}${truncated ? "\n... (truncated)" : ""}\n\`\`\`\n\n
`; + return `\n\n
${summary}\n\n\`\`\`diff\n${preview}${ + truncated ? "\n... (truncated)" : "" + }\n\`\`\`\n\n
`; } async function main() { core.setOutput("pull_request_number", ""); @@ -5390,7 +5394,9 @@ jobs: const patchStats = fs.readFileSync("/tmp/gh-aw/aw.patch", "utf8"); if (patchStats.trim()) { summaryContent += `**Changes:** Patch file exists with ${patchStats.split("\n").length} lines\n\n`; - summaryContent += `
Show patch preview\n\n\`\`\`diff\n${patchStats.slice(0, 2000)}${patchStats.length > 2000 ? "\n... (truncated)" : ""}\n\`\`\`\n\n
\n\n`; + summaryContent += `
Show patch preview\n\n\`\`\`diff\n${patchStats.slice(0, 2000)}${ + patchStats.length > 2000 ? "\n... (truncated)" : "" + }\n\`\`\`\n\n
\n\n`; } else { summaryContent += `**Changes:** No changes (empty patch)\n\n`; } @@ -5558,7 +5564,9 @@ jobs: return; } catch (issueError) { core.setFailed( - `Failed to push and failed to create fallback issue. Push error: ${pushError instanceof Error ? pushError.message : String(pushError)}. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` + `Failed to push and failed to create fallback issue. Push error: ${ + pushError instanceof Error ? pushError.message : String(pushError) + }. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` ); return; } @@ -5655,7 +5663,9 @@ jobs: .write(); } catch (issueError) { core.setFailed( - `Failed to create both pull request and fallback issue. PR error: ${prError instanceof Error ? prError.message : String(prError)}. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` + `Failed to create both pull request and fallback issue. PR error: ${ + prError instanceof Error ? prError.message : String(prError) + }. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` ); return; } @@ -5884,7 +5894,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/semantic-function-refactor.lock.yml b/.github/workflows/semantic-function-refactor.lock.yml index 12c77eb481..92a6c76dbb 100644 --- a/.github/workflows/semantic-function-refactor.lock.yml +++ b/.github/workflows/semantic-function-refactor.lock.yml @@ -610,8 +610,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -828,7 +828,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -5258,7 +5258,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -6169,7 +6171,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -6259,7 +6263,9 @@ jobs: } const temporaryId = createIssueItem.temporary_id || generateTemporaryId(); core.info( - `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${createIssueItem.body.length}, temporaryId=${temporaryId}, repo=${itemRepo}` + `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${ + createIssueItem.body.length + }, temporaryId=${temporaryId}, repo=${itemRepo}` ); core.info(`Debug: createIssueItem.parent = ${JSON.stringify(createIssueItem.parent)}`); core.info(`Debug: parentIssueNumber from context = ${JSON.stringify(parentIssueNumber)}`); @@ -6431,7 +6437,9 @@ jobs: core.info("✓ Added comment to parent issue #" + effectiveParentIssueNumber + " (sub-issue linking not available)"); } catch (commentError) { core.info( - `Warning: Could not add comment to parent issue: ${commentError instanceof Error ? commentError.message : String(commentError)}` + `Warning: Could not add comment to parent issue: ${ + commentError instanceof Error ? commentError.message : String(commentError) + }` ); } } @@ -6648,7 +6656,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/smoke-claude.lock.yml b/.github/workflows/smoke-claude.lock.yml index 5b93df1998..31bca80ebc 100644 --- a/.github/workflows/smoke-claude.lock.yml +++ b/.github/workflows/smoke-claude.lock.yml @@ -246,8 +246,8 @@ # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd # - actions/setup-go@v5 (d35c59abb061a4a6fb18e82ac0862c26744d6ab5) # https://github.com/actions/setup-go/commit/d35c59abb061a4a6fb18e82ac0862c26744d6ab5 -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/setup-python@v5 (a26af69be951a213d495a4c3e4e4022e16d87065) # https://github.com/actions/setup-python/commit/a26af69be951a213d495a4c3e4e4022e16d87065 # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) @@ -2056,7 +2056,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -6180,7 +6180,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -7013,7 +7015,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -7103,7 +7107,9 @@ jobs: } const temporaryId = createIssueItem.temporary_id || generateTemporaryId(); core.info( - `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${createIssueItem.body.length}, temporaryId=${temporaryId}, repo=${itemRepo}` + `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${ + createIssueItem.body.length + }, temporaryId=${temporaryId}, repo=${itemRepo}` ); core.info(`Debug: createIssueItem.parent = ${JSON.stringify(createIssueItem.parent)}`); core.info(`Debug: parentIssueNumber from context = ${JSON.stringify(parentIssueNumber)}`); @@ -7275,7 +7281,9 @@ jobs: core.info("✓ Added comment to parent issue #" + effectiveParentIssueNumber + " (sub-issue linking not available)"); } catch (commentError) { core.info( - `Warning: Could not add comment to parent issue: ${commentError instanceof Error ? commentError.message : String(commentError)}` + `Warning: Could not add comment to parent issue: ${ + commentError instanceof Error ? commentError.message : String(commentError) + }` ); } } @@ -7490,7 +7498,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/smoke-codex.lock.yml b/.github/workflows/smoke-codex.lock.yml index f8b6b7d9c5..671d18afc4 100644 --- a/.github/workflows/smoke-codex.lock.yml +++ b/.github/workflows/smoke-codex.lock.yml @@ -125,8 +125,8 @@ # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd # - actions/setup-go@v5 (d35c59abb061a4a6fb18e82ac0862c26744d6ab5) # https://github.com/actions/setup-go/commit/d35c59abb061a4a6fb18e82ac0862c26744d6ab5 -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/setup-python@v5 (a26af69be951a213d495a4c3e4e4022e16d87065) # https://github.com/actions/setup-python/commit/a26af69be951a213d495a4c3e4e4022e16d87065 # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) @@ -1935,7 +1935,7 @@ jobs: CODEX_API_KEY: ${{ secrets.CODEX_API_KEY }} OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -5972,7 +5972,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -6805,7 +6807,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -6895,7 +6899,9 @@ jobs: } const temporaryId = createIssueItem.temporary_id || generateTemporaryId(); core.info( - `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${createIssueItem.body.length}, temporaryId=${temporaryId}, repo=${itemRepo}` + `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${ + createIssueItem.body.length + }, temporaryId=${temporaryId}, repo=${itemRepo}` ); core.info(`Debug: createIssueItem.parent = ${JSON.stringify(createIssueItem.parent)}`); core.info(`Debug: parentIssueNumber from context = ${JSON.stringify(parentIssueNumber)}`); @@ -7067,7 +7073,9 @@ jobs: core.info("✓ Added comment to parent issue #" + effectiveParentIssueNumber + " (sub-issue linking not available)"); } catch (commentError) { core.info( - `Warning: Could not add comment to parent issue: ${commentError instanceof Error ? commentError.message : String(commentError)}` + `Warning: Could not add comment to parent issue: ${ + commentError instanceof Error ? commentError.message : String(commentError) + }` ); } } @@ -7282,7 +7290,7 @@ jobs: CODEX_API_KEY: ${{ secrets.CODEX_API_KEY }} OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/smoke-copilot-no-firewall.lock.yml b/.github/workflows/smoke-copilot-no-firewall.lock.yml index b0c356fa91..b19461da45 100644 --- a/.github/workflows/smoke-copilot-no-firewall.lock.yml +++ b/.github/workflows/smoke-copilot-no-firewall.lock.yml @@ -137,8 +137,8 @@ # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd # - actions/setup-go@v5 (d35c59abb061a4a6fb18e82ac0862c26744d6ab5) # https://github.com/actions/setup-go/commit/d35c59abb061a4a6fb18e82ac0862c26744d6ab5 -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/setup-python@v5 (a26af69be951a213d495a4c3e4e4022e16d87065) # https://github.com/actions/setup-python/commit/a26af69be951a213d495a4c3e4e4022e16d87065 # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) @@ -1947,7 +1947,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -6248,7 +6248,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -7082,7 +7084,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -7172,7 +7176,9 @@ jobs: } const temporaryId = createIssueItem.temporary_id || generateTemporaryId(); core.info( - `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${createIssueItem.body.length}, temporaryId=${temporaryId}, repo=${itemRepo}` + `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${ + createIssueItem.body.length + }, temporaryId=${temporaryId}, repo=${itemRepo}` ); core.info(`Debug: createIssueItem.parent = ${JSON.stringify(createIssueItem.parent)}`); core.info(`Debug: parentIssueNumber from context = ${JSON.stringify(parentIssueNumber)}`); @@ -7344,7 +7350,9 @@ jobs: core.info("✓ Added comment to parent issue #" + effectiveParentIssueNumber + " (sub-issue linking not available)"); } catch (commentError) { core.info( - `Warning: Could not add comment to parent issue: ${commentError instanceof Error ? commentError.message : String(commentError)}` + `Warning: Could not add comment to parent issue: ${ + commentError instanceof Error ? commentError.message : String(commentError) + }` ); } } @@ -7559,7 +7567,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/smoke-copilot-playwright.lock.yml b/.github/workflows/smoke-copilot-playwright.lock.yml index 259d4ddf1d..27a4fc6f08 100644 --- a/.github/workflows/smoke-copilot-playwright.lock.yml +++ b/.github/workflows/smoke-copilot-playwright.lock.yml @@ -185,8 +185,8 @@ # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd # - actions/setup-go@v5 (d35c59abb061a4a6fb18e82ac0862c26744d6ab5) # https://github.com/actions/setup-go/commit/d35c59abb061a4a6fb18e82ac0862c26744d6ab5 -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/setup-python@v5 (a26af69be951a213d495a4c3e4e4022e16d87065) # https://github.com/actions/setup-python/commit/a26af69be951a213d495a4c3e4e4022e16d87065 # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) @@ -1998,7 +1998,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -6315,7 +6315,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -6547,7 +6551,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -7392,7 +7398,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -7482,7 +7490,9 @@ jobs: } const temporaryId = createIssueItem.temporary_id || generateTemporaryId(); core.info( - `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${createIssueItem.body.length}, temporaryId=${temporaryId}, repo=${itemRepo}` + `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${ + createIssueItem.body.length + }, temporaryId=${temporaryId}, repo=${itemRepo}` ); core.info(`Debug: createIssueItem.parent = ${JSON.stringify(createIssueItem.parent)}`); core.info(`Debug: parentIssueNumber from context = ${JSON.stringify(parentIssueNumber)}`); @@ -7654,7 +7664,9 @@ jobs: core.info("✓ Added comment to parent issue #" + effectiveParentIssueNumber + " (sub-issue linking not available)"); } catch (commentError) { core.info( - `Warning: Could not add comment to parent issue: ${commentError instanceof Error ? commentError.message : String(commentError)}` + `Warning: Could not add comment to parent issue: ${ + commentError instanceof Error ? commentError.message : String(commentError) + }` ); } } @@ -7869,7 +7881,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/smoke-copilot.lock.yml b/.github/workflows/smoke-copilot.lock.yml index 2fb25f1422..eab45b614f 100644 --- a/.github/workflows/smoke-copilot.lock.yml +++ b/.github/workflows/smoke-copilot.lock.yml @@ -120,8 +120,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -1913,7 +1913,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -6212,7 +6212,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -6444,7 +6448,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -7277,7 +7283,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -7367,7 +7375,9 @@ jobs: } const temporaryId = createIssueItem.temporary_id || generateTemporaryId(); core.info( - `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${createIssueItem.body.length}, temporaryId=${temporaryId}, repo=${itemRepo}` + `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${ + createIssueItem.body.length + }, temporaryId=${temporaryId}, repo=${itemRepo}` ); core.info(`Debug: createIssueItem.parent = ${JSON.stringify(createIssueItem.parent)}`); core.info(`Debug: parentIssueNumber from context = ${JSON.stringify(parentIssueNumber)}`); @@ -7539,7 +7549,9 @@ jobs: core.info("✓ Added comment to parent issue #" + effectiveParentIssueNumber + " (sub-issue linking not available)"); } catch (commentError) { core.info( - `Warning: Could not add comment to parent issue: ${commentError instanceof Error ? commentError.message : String(commentError)}` + `Warning: Could not add comment to parent issue: ${ + commentError instanceof Error ? commentError.message : String(commentError) + }` ); } } @@ -7754,7 +7766,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/smoke-detector.lock.yml b/.github/workflows/smoke-detector.lock.yml index 29b435f06d..7a1c778e5b 100644 --- a/.github/workflows/smoke-detector.lock.yml +++ b/.github/workflows/smoke-detector.lock.yml @@ -445,8 +445,8 @@ # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd # - actions/setup-go@v5 (d35c59abb061a4a6fb18e82ac0862c26744d6ab5) # https://github.com/actions/setup-go/commit/d35c59abb061a4a6fb18e82ac0862c26744d6ab5 -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -1729,7 +1729,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -5968,7 +5968,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -6802,7 +6804,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -6892,7 +6896,9 @@ jobs: } const temporaryId = createIssueItem.temporary_id || generateTemporaryId(); core.info( - `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${createIssueItem.body.length}, temporaryId=${temporaryId}, repo=${itemRepo}` + `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${ + createIssueItem.body.length + }, temporaryId=${temporaryId}, repo=${itemRepo}` ); core.info(`Debug: createIssueItem.parent = ${JSON.stringify(createIssueItem.parent)}`); core.info(`Debug: parentIssueNumber from context = ${JSON.stringify(parentIssueNumber)}`); @@ -7064,7 +7070,9 @@ jobs: core.info("✓ Added comment to parent issue #" + effectiveParentIssueNumber + " (sub-issue linking not available)"); } catch (commentError) { core.info( - `Warning: Could not add comment to parent issue: ${commentError instanceof Error ? commentError.message : String(commentError)}` + `Warning: Could not add comment to parent issue: ${ + commentError instanceof Error ? commentError.message : String(commentError) + }` ); } } @@ -7281,7 +7289,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/smoke-srt-custom-config.lock.yml b/.github/workflows/smoke-srt-custom-config.lock.yml index d668f67546..fe4923f7ad 100644 --- a/.github/workflows/smoke-srt-custom-config.lock.yml +++ b/.github/workflows/smoke-srt-custom-config.lock.yml @@ -89,8 +89,8 @@ # https://github.com/actions/checkout/commit/93cb6efe18208431cddfb8368fd83d5badbf9bfd # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -294,7 +294,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -2481,7 +2481,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; diff --git a/.github/workflows/smoke-srt.lock.yml b/.github/workflows/smoke-srt.lock.yml index c30c7f386f..2d3a56cd45 100644 --- a/.github/workflows/smoke-srt.lock.yml +++ b/.github/workflows/smoke-srt.lock.yml @@ -102,8 +102,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -324,7 +324,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -4585,7 +4585,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -5301,7 +5303,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/stale-repo-identifier.lock.yml b/.github/workflows/stale-repo-identifier.lock.yml index 1ee0ac1667..29b6bb0577 100644 --- a/.github/workflows/stale-repo-identifier.lock.yml +++ b/.github/workflows/stale-repo-identifier.lock.yml @@ -987,8 +987,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 # - github/stale-repos@v3 (3477b6488008d9411aaf22a0924ec7c1f6a69980) @@ -1201,8 +1201,10 @@ jobs: id: stale-repos name: Run stale_repos tool uses: github/stale-repos@3477b6488008d9411aaf22a0924ec7c1f6a69980 # v3 - - name: Save stale repos output - run: "mkdir -p /tmp/stale-repos-data\necho '${{ steps.stale-repos.outputs.inactiveRepos }}' > /tmp/stale-repos-data/inactive-repos.json\necho \"Stale repositories data saved to /tmp/stale-repos-data/inactive-repos.json\"\necho \"Total stale repositories: $(jq 'length' /tmp/stale-repos-data/inactive-repos.json)\"" + - env: + INACTIVE_REPOS: ${{ steps.stale-repos.outputs.inactiveRepos }} + name: Save stale repos output + run: "mkdir -p /tmp/stale-repos-data\necho \"$INACTIVE_REPOS\" > /tmp/stale-repos-data/inactive-repos.json\necho \"Stale repositories data saved\"\necho \"Total stale repositories: $(jq 'length' /tmp/stale-repos-data/inactive-repos.json)\"" # Cache memory file share configuration from frontmatter processed below - name: Create cache-memory directory @@ -1300,7 +1302,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -6417,7 +6419,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -6656,7 +6662,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -7490,7 +7498,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -7580,7 +7590,9 @@ jobs: } const temporaryId = createIssueItem.temporary_id || generateTemporaryId(); core.info( - `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${createIssueItem.body.length}, temporaryId=${temporaryId}, repo=${itemRepo}` + `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${ + createIssueItem.body.length + }, temporaryId=${temporaryId}, repo=${itemRepo}` ); core.info(`Debug: createIssueItem.parent = ${JSON.stringify(createIssueItem.parent)}`); core.info(`Debug: parentIssueNumber from context = ${JSON.stringify(parentIssueNumber)}`); @@ -7752,7 +7764,9 @@ jobs: core.info("✓ Added comment to parent issue #" + effectiveParentIssueNumber + " (sub-issue linking not available)"); } catch (commentError) { core.info( - `Warning: Could not add comment to parent issue: ${commentError instanceof Error ? commentError.message : String(commentError)}` + `Warning: Could not add comment to parent issue: ${ + commentError instanceof Error ? commentError.message : String(commentError) + }` ); } } @@ -7969,7 +7983,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/static-analysis-report.lock.yml b/.github/workflows/static-analysis-report.lock.yml index 22f82bded9..975a77e207 100644 --- a/.github/workflows/static-analysis-report.lock.yml +++ b/.github/workflows/static-analysis-report.lock.yml @@ -507,8 +507,8 @@ # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd # - actions/setup-go@v5 (d35c59abb061a4a6fb18e82ac0862c26744d6ab5) # https://github.com/actions/setup-go/commit/d35c59abb061a4a6fb18e82ac0862c26744d6ab5 -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -761,7 +761,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -5029,7 +5029,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -5978,7 +5980,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -6130,7 +6134,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -6168,7 +6174,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -6441,7 +6449,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/super-linter.lock.yml b/.github/workflows/super-linter.lock.yml index 8b6f6637dc..f84da26d60 100644 --- a/.github/workflows/super-linter.lock.yml +++ b/.github/workflows/super-linter.lock.yml @@ -331,8 +331,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 # - super-linter/super-linter@v8.2.1 (2bdd90ed3262e023ac84bf8fe35dc480721fc1f2) @@ -581,7 +581,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -5008,7 +5008,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -5240,7 +5244,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -6071,7 +6077,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -6161,7 +6169,9 @@ jobs: } const temporaryId = createIssueItem.temporary_id || generateTemporaryId(); core.info( - `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${createIssueItem.body.length}, temporaryId=${temporaryId}, repo=${itemRepo}` + `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${ + createIssueItem.body.length + }, temporaryId=${temporaryId}, repo=${itemRepo}` ); core.info(`Debug: createIssueItem.parent = ${JSON.stringify(createIssueItem.parent)}`); core.info(`Debug: parentIssueNumber from context = ${JSON.stringify(parentIssueNumber)}`); @@ -6333,7 +6343,9 @@ jobs: core.info("✓ Added comment to parent issue #" + effectiveParentIssueNumber + " (sub-issue linking not available)"); } catch (commentError) { core.info( - `Warning: Could not add comment to parent issue: ${commentError instanceof Error ? commentError.message : String(commentError)}` + `Warning: Could not add comment to parent issue: ${ + commentError instanceof Error ? commentError.message : String(commentError) + }` ); } } @@ -6550,7 +6562,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/technical-doc-writer.lock.yml b/.github/workflows/technical-doc-writer.lock.yml index 8e781a4269..2d17e3cffd 100644 --- a/.github/workflows/technical-doc-writer.lock.yml +++ b/.github/workflows/technical-doc-writer.lock.yml @@ -531,8 +531,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -1284,7 +1284,7 @@ jobs: with: persist-credentials: false - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' cache: 'npm' @@ -1398,7 +1398,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -6081,7 +6081,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -6320,7 +6324,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -7083,7 +7089,9 @@ jobs: const summary = truncated ? `Show patch preview (${Math.min(maxLines, lines.length)} of ${lines.length} lines)` : `Show patch (${lines.length} lines)`; - return `\n\n
${summary}\n\n\`\`\`diff\n${preview}${truncated ? "\n... (truncated)" : ""}\n\`\`\`\n\n
`; + return `\n\n
${summary}\n\n\`\`\`diff\n${preview}${ + truncated ? "\n... (truncated)" : "" + }\n\`\`\`\n\n
`; } async function main() { core.setOutput("pull_request_number", ""); @@ -7230,7 +7238,9 @@ jobs: const patchStats = fs.readFileSync("/tmp/gh-aw/aw.patch", "utf8"); if (patchStats.trim()) { summaryContent += `**Changes:** Patch file exists with ${patchStats.split("\n").length} lines\n\n`; - summaryContent += `
Show patch preview\n\n\`\`\`diff\n${patchStats.slice(0, 2000)}${patchStats.length > 2000 ? "\n... (truncated)" : ""}\n\`\`\`\n\n
\n\n`; + summaryContent += `
Show patch preview\n\n\`\`\`diff\n${patchStats.slice(0, 2000)}${ + patchStats.length > 2000 ? "\n... (truncated)" : "" + }\n\`\`\`\n\n
\n\n`; } else { summaryContent += `**Changes:** No changes (empty patch)\n\n`; } @@ -7398,7 +7408,9 @@ jobs: return; } catch (issueError) { core.setFailed( - `Failed to push and failed to create fallback issue. Push error: ${pushError instanceof Error ? pushError.message : String(pushError)}. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` + `Failed to push and failed to create fallback issue. Push error: ${ + pushError instanceof Error ? pushError.message : String(pushError) + }. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` ); return; } @@ -7495,7 +7507,9 @@ jobs: .write(); } catch (issueError) { core.setFailed( - `Failed to create both pull request and fallback issue. PR error: ${prError instanceof Error ? prError.message : String(prError)}. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` + `Failed to create both pull request and fallback issue. PR error: ${ + prError instanceof Error ? prError.message : String(prError) + }. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` ); return; } @@ -7724,7 +7738,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/test-python-safe-input.lock.yml b/.github/workflows/test-python-safe-input.lock.yml index 648968a92e..63b209367f 100644 --- a/.github/workflows/test-python-safe-input.lock.yml +++ b/.github/workflows/test-python-safe-input.lock.yml @@ -5403,7 +5403,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -5635,7 +5639,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -6466,7 +6472,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -6556,7 +6564,9 @@ jobs: } const temporaryId = createIssueItem.temporary_id || generateTemporaryId(); core.info( - `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${createIssueItem.body.length}, temporaryId=${temporaryId}, repo=${itemRepo}` + `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${ + createIssueItem.body.length + }, temporaryId=${temporaryId}, repo=${itemRepo}` ); core.info(`Debug: createIssueItem.parent = ${JSON.stringify(createIssueItem.parent)}`); core.info(`Debug: parentIssueNumber from context = ${JSON.stringify(parentIssueNumber)}`); @@ -6728,7 +6738,9 @@ jobs: core.info("✓ Added comment to parent issue #" + effectiveParentIssueNumber + " (sub-issue linking not available)"); } catch (commentError) { core.info( - `Warning: Could not add comment to parent issue: ${commentError instanceof Error ? commentError.message : String(commentError)}` + `Warning: Could not add comment to parent issue: ${ + commentError instanceof Error ? commentError.message : String(commentError) + }` ); } } diff --git a/.github/workflows/tidy.lock.yml b/.github/workflows/tidy.lock.yml index 2019eb6203..089a839f0c 100644 --- a/.github/workflows/tidy.lock.yml +++ b/.github/workflows/tidy.lock.yml @@ -196,8 +196,8 @@ # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd # - actions/setup-go@v5 (d35c59abb061a4a6fb18e82ac0862c26744d6ab5) # https://github.com/actions/setup-go/commit/d35c59abb061a4a6fb18e82ac0862c26744d6ab5 -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -752,7 +752,7 @@ jobs: mkdir -p /tmp/gh-aw/agent echo "Created /tmp/gh-aw/agent directory for agentic workflow temporary files" - name: Set up Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: cache: npm cache-dependency-path: pkg/workflow/js/package-lock.json @@ -840,7 +840,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -5199,7 +5199,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -5431,7 +5435,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -6193,7 +6199,9 @@ jobs: const summary = truncated ? `Show patch preview (${Math.min(maxLines, lines.length)} of ${lines.length} lines)` : `Show patch (${lines.length} lines)`; - return `\n\n
${summary}\n\n\`\`\`diff\n${preview}${truncated ? "\n... (truncated)" : ""}\n\`\`\`\n\n
`; + return `\n\n
${summary}\n\n\`\`\`diff\n${preview}${ + truncated ? "\n... (truncated)" : "" + }\n\`\`\`\n\n
`; } async function main() { core.setOutput("pull_request_number", ""); @@ -6340,7 +6348,9 @@ jobs: const patchStats = fs.readFileSync("/tmp/gh-aw/aw.patch", "utf8"); if (patchStats.trim()) { summaryContent += `**Changes:** Patch file exists with ${patchStats.split("\n").length} lines\n\n`; - summaryContent += `
Show patch preview\n\n\`\`\`diff\n${patchStats.slice(0, 2000)}${patchStats.length > 2000 ? "\n... (truncated)" : ""}\n\`\`\`\n\n
\n\n`; + summaryContent += `
Show patch preview\n\n\`\`\`diff\n${patchStats.slice(0, 2000)}${ + patchStats.length > 2000 ? "\n... (truncated)" : "" + }\n\`\`\`\n\n
\n\n`; } else { summaryContent += `**Changes:** No changes (empty patch)\n\n`; } @@ -6508,7 +6518,9 @@ jobs: return; } catch (issueError) { core.setFailed( - `Failed to push and failed to create fallback issue. Push error: ${pushError instanceof Error ? pushError.message : String(pushError)}. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` + `Failed to push and failed to create fallback issue. Push error: ${ + pushError instanceof Error ? pushError.message : String(pushError) + }. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` ); return; } @@ -6605,7 +6617,9 @@ jobs: .write(); } catch (issueError) { core.setFailed( - `Failed to create both pull request and fallback issue. PR error: ${prError instanceof Error ? prError.message : String(prError)}. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` + `Failed to create both pull request and fallback issue. PR error: ${ + prError instanceof Error ? prError.message : String(prError) + }. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` ); return; } @@ -6832,7 +6846,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -7365,7 +7379,9 @@ jobs: const patchStats = fs.readFileSync("/tmp/gh-aw/aw.patch", "utf8"); if (patchStats.trim()) { content += `**Changes:** Patch file exists with ${patchStats.split("\n").length} lines\n\n`; - content += `
Show patch preview\n\n\`\`\`diff\n${patchStats.slice(0, 2000)}${patchStats.length > 2000 ? "\n... (truncated)" : ""}\n\`\`\`\n\n
\n\n`; + content += `
Show patch preview\n\n\`\`\`diff\n${patchStats.slice(0, 2000)}${ + patchStats.length > 2000 ? "\n... (truncated)" : "" + }\n\`\`\`\n\n
\n\n`; } else { content += `**Changes:** No changes (empty patch)\n\n`; } @@ -7457,7 +7473,9 @@ jobs: await exec.exec(`git rev-parse --verify origin/${branchName}`); } catch (verifyError) { core.setFailed( - `Branch ${branchName} does not exist on origin, can't push to it: ${verifyError instanceof Error ? verifyError.message : String(verifyError)}` + `Branch ${branchName} does not exist on origin, can't push to it: ${ + verifyError instanceof Error ? verifyError.message : String(verifyError) + }` ); return; } diff --git a/.github/workflows/typist.lock.yml b/.github/workflows/typist.lock.yml index 0b7e3c5461..6eb0045612 100644 --- a/.github/workflows/typist.lock.yml +++ b/.github/workflows/typist.lock.yml @@ -638,8 +638,8 @@ # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd # - actions/setup-go@v5 (d35c59abb061a4a6fb18e82ac0862c26744d6ab5) # https://github.com/actions/setup-go/commit/d35c59abb061a4a6fb18e82ac0862c26744d6ab5 -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/setup-python@v5 (a26af69be951a213d495a4c3e4e4022e16d87065) # https://github.com/actions/setup-python/commit/a26af69be951a213d495a4c3e4e4022e16d87065 # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) @@ -873,7 +873,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -5290,7 +5290,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -6239,7 +6241,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -6391,7 +6395,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -6429,7 +6435,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -6702,7 +6710,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/unbloat-docs.lock.yml b/.github/workflows/unbloat-docs.lock.yml index 3fe2ce0369..61ae8f6fb0 100644 --- a/.github/workflows/unbloat-docs.lock.yml +++ b/.github/workflows/unbloat-docs.lock.yml @@ -486,8 +486,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -1645,7 +1645,7 @@ jobs: with: persist-credentials: false - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' cache: 'npm' @@ -1755,7 +1755,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -6105,7 +6105,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -6870,7 +6872,9 @@ jobs: const summary = truncated ? `Show patch preview (${Math.min(maxLines, lines.length)} of ${lines.length} lines)` : `Show patch (${lines.length} lines)`; - return `\n\n
${summary}\n\n\`\`\`diff\n${preview}${truncated ? "\n... (truncated)" : ""}\n\`\`\`\n\n
`; + return `\n\n
${summary}\n\n\`\`\`diff\n${preview}${ + truncated ? "\n... (truncated)" : "" + }\n\`\`\`\n\n
`; } async function main() { core.setOutput("pull_request_number", ""); @@ -7017,7 +7021,9 @@ jobs: const patchStats = fs.readFileSync("/tmp/gh-aw/aw.patch", "utf8"); if (patchStats.trim()) { summaryContent += `**Changes:** Patch file exists with ${patchStats.split("\n").length} lines\n\n`; - summaryContent += `
Show patch preview\n\n\`\`\`diff\n${patchStats.slice(0, 2000)}${patchStats.length > 2000 ? "\n... (truncated)" : ""}\n\`\`\`\n\n
\n\n`; + summaryContent += `
Show patch preview\n\n\`\`\`diff\n${patchStats.slice(0, 2000)}${ + patchStats.length > 2000 ? "\n... (truncated)" : "" + }\n\`\`\`\n\n
\n\n`; } else { summaryContent += `**Changes:** No changes (empty patch)\n\n`; } @@ -7185,7 +7191,9 @@ jobs: return; } catch (issueError) { core.setFailed( - `Failed to push and failed to create fallback issue. Push error: ${pushError instanceof Error ? pushError.message : String(pushError)}. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` + `Failed to push and failed to create fallback issue. Push error: ${ + pushError instanceof Error ? pushError.message : String(pushError) + }. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` ); return; } @@ -7282,7 +7290,9 @@ jobs: .write(); } catch (issueError) { core.setFailed( - `Failed to create both pull request and fallback issue. PR error: ${prError instanceof Error ? prError.message : String(prError)}. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` + `Failed to create both pull request and fallback issue. PR error: ${ + prError instanceof Error ? prError.message : String(prError) + }. Issue error: ${issueError instanceof Error ? issueError.message : String(issueError)}` ); return; } @@ -7458,7 +7468,7 @@ jobs: CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/video-analyzer.lock.yml b/.github/workflows/video-analyzer.lock.yml index 18cbe6b0cd..5433d6ecd1 100644 --- a/.github/workflows/video-analyzer.lock.yml +++ b/.github/workflows/video-analyzer.lock.yml @@ -350,8 +350,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -579,7 +579,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -5052,7 +5052,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -5284,7 +5288,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -6115,7 +6121,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -6205,7 +6213,9 @@ jobs: } const temporaryId = createIssueItem.temporary_id || generateTemporaryId(); core.info( - `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${createIssueItem.body.length}, temporaryId=${temporaryId}, repo=${itemRepo}` + `Processing create-issue item ${i + 1}/${createIssueItems.length}: title=${createIssueItem.title}, bodyLength=${ + createIssueItem.body.length + }, temporaryId=${temporaryId}, repo=${itemRepo}` ); core.info(`Debug: createIssueItem.parent = ${JSON.stringify(createIssueItem.parent)}`); core.info(`Debug: parentIssueNumber from context = ${JSON.stringify(parentIssueNumber)}`); @@ -6377,7 +6387,9 @@ jobs: core.info("✓ Added comment to parent issue #" + effectiveParentIssueNumber + " (sub-issue linking not available)"); } catch (commentError) { core.info( - `Warning: Could not add comment to parent issue: ${commentError instanceof Error ? commentError.message : String(commentError)}` + `Warning: Could not add comment to parent issue: ${ + commentError instanceof Error ? commentError.message : String(commentError) + }` ); } } @@ -6594,7 +6606,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/.github/workflows/weekly-issue-summary.lock.yml b/.github/workflows/weekly-issue-summary.lock.yml index 575dd824e7..676164be03 100644 --- a/.github/workflows/weekly-issue-summary.lock.yml +++ b/.github/workflows/weekly-issue-summary.lock.yml @@ -707,8 +707,8 @@ # https://github.com/actions/download-artifact/commit/018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # - actions/github-script@v8 (ed597411d8f924073f98dfc5c65a23a2325f34cd) # https://github.com/actions/github-script/commit/ed597411d8f924073f98dfc5c65a23a2325f34cd -# - actions/setup-node@v6 (2028fbc5c25fe9cf00d9f06a71cc4710d4507903) -# https://github.com/actions/setup-node/commit/2028fbc5c25fe9cf00d9f06a71cc4710d4507903 +# - actions/setup-node@v6 (395ad3262231945c25e8478fd5baf05154b1d79f) +# https://github.com/actions/setup-node/commit/395ad3262231945c25e8478fd5baf05154b1d79f # - actions/upload-artifact@v5 (330a01c490aca151604b8cf639adc76d48f6c5d4) # https://github.com/actions/upload-artifact/commit/330a01c490aca151604b8cf639adc76d48f6c5d4 @@ -925,7 +925,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false @@ -5782,7 +5782,11 @@ jobs: if (validDeniedRequests > 0) { - summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${validDeniedDomains.length}** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; + summary += `**${validDeniedRequests}** request${validDeniedRequests !== 1 ? "s" : ""} blocked across **${ + + validDeniedDomains.length + + }** unique domain${validDeniedDomains.length !== 1 ? "s" : ""}`; summary += ` (${totalRequests > 0 ? Math.round((validDeniedRequests / totalRequests) * 100) : 0}% of total traffic)\n\n`; @@ -6021,7 +6025,9 @@ jobs: } const level = extractLevel(match, pattern); const message = extractMessage(match, pattern, line); - const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${pattern.description || "Unknown pattern"}, Raw log: ${truncateString(line.trim(), 120)})`; + const errorMessage = `Line ${lineIndex + 1}: ${message} (Pattern: ${ + pattern.description || "Unknown pattern" + }, Raw log: ${truncateString(line.trim(), 120)})`; if (level.toLowerCase() === "error") { core.error(errorMessage); hasErrors = true; @@ -6976,7 +6982,9 @@ jobs: } return { valid: false, - error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : ""}`, + error: `Repository '${repo}' is not in the allowed-repos list. Allowed: ${defaultRepo}${ + allowedRepos.size > 0 ? ", " + Array.from(allowedRepos).join(", ") : "" + }`, }; } function parseRepoSlug(repoSlug) { @@ -7128,7 +7136,9 @@ jobs: repoInfo = fetchedInfo; repoInfoCache.set(itemRepo, repoInfo); core.info( - `Fetched discussion categories for ${itemRepo}: ${JSON.stringify(repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })))}` + `Fetched discussion categories for ${itemRepo}: ${JSON.stringify( + repoInfo.discussionCategories.map(cat => ({ name: cat.name, id: cat.id })) + )}` ); } catch (error) { const errorMessage = error instanceof Error ? error.message : String(error); @@ -7166,7 +7176,9 @@ jobs: } const categoryId = categoryInfo.id; core.info( - `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${createDiscussionItem.body?.length || 0}, repo=${itemRepo}` + `Processing create-discussion item ${i + 1}/${createDiscussionItems.length}: title=${createDiscussionItem.title}, bodyLength=${ + createDiscussionItem.body?.length || 0 + }, repo=${itemRepo}` ); let title = createDiscussionItem.title ? replaceTemporaryIdReferences(createDiscussionItem.title.trim(), temporaryIdMap, itemRepo) : ""; const bodyText = createDiscussionItem.body || ""; @@ -7439,7 +7451,7 @@ jobs: COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }} COPILOT_CLI_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }} - name: Setup Node.js - uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6 + uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6 with: node-version: '24' package-manager-cache: false diff --git a/pkg/workflow/.github/aw/actions-lock.json b/pkg/workflow/.github/aw/actions-lock.json index 9bf1c5e637..46c2d80bf4 100644 --- a/pkg/workflow/.github/aw/actions-lock.json +++ b/pkg/workflow/.github/aw/actions-lock.json @@ -23,7 +23,7 @@ "actions/setup-node@v6": { "repo": "actions/setup-node", "version": "v6", - "sha": "2028fbc5c25fe9cf00d9f06a71cc4710d4507903" + "sha": "395ad3262231945c25e8478fd5baf05154b1d79f" } } } diff --git a/pkg/workflow/action_pins_test.go b/pkg/workflow/action_pins_test.go index 13d2406f49..341f3e557b 100644 --- a/pkg/workflow/action_pins_test.go +++ b/pkg/workflow/action_pins_test.go @@ -345,9 +345,9 @@ func TestApplyActionPinToStep(t *testing.T) { func TestGetActionPinsSorting(t *testing.T) { pins := getActionPins() - // Verify we got all the pins (should be 22 after adding cli/gh-extension-precompile) - if len(pins) != 22 { - t.Errorf("getActionPins() returned %d pins, expected 22", len(pins)) + // Verify we got all the pins (should be 23 after adding actions/download-artifact@v6) + if len(pins) != 23 { + t.Errorf("getActionPins() returned %d pins, expected 23", len(pins)) } // Verify they are sorted by version (descending) then by repository name (ascending) diff --git a/pkg/workflow/data/action_pins.json b/pkg/workflow/data/action_pins.json index 65fb4f6b89..7bce5d445a 100644 --- a/pkg/workflow/data/action_pins.json +++ b/pkg/workflow/data/action_pins.json @@ -48,7 +48,7 @@ "actions/setup-node@v6": { "repo": "actions/setup-node", "version": "v6", - "sha": "2028fbc5c25fe9cf00d9f06a71cc4710d4507903" + "sha": "395ad3262231945c25e8478fd5baf05154b1d79f" }, "actions/setup-python@v5": { "repo": "actions/setup-python", From d56d53c82d6197e35eb6086c2d76d2e8283547a6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 4 Dec 2025 20:11:54 +0000 Subject: [PATCH 3/3] feat: Make action SHA validation fail in strict mode with --validate flag Co-authored-by: mrjf <180956+mrjf@users.noreply.github.com> --- pkg/cli/compile_command.go | 12 ++++++++++-- pkg/workflow/action_sha_checker.go | 12 +++++++----- pkg/workflow/action_sha_checker_integration_test.go | 10 ++++++---- 3 files changed, 23 insertions(+), 11 deletions(-) diff --git a/pkg/cli/compile_command.go b/pkg/cli/compile_command.go index d5a3b1155b..972b9b7a0f 100644 --- a/pkg/cli/compile_command.go +++ b/pkg/cli/compile_command.go @@ -58,7 +58,11 @@ func CompileWorkflowWithValidation(compiler *workflow.Compiler, filePath string, // Use the compiler's shared action cache to benefit from cached resolutions actionCache := compiler.GetSharedActionCache() if err := workflow.ValidateActionSHAsInLockFile(lockFile, actionCache, verbose); err != nil { - // Action SHA validation warnings are non-fatal + // In strict mode, SHA mismatches are fatal + if strict { + return fmt.Errorf("action SHA validation failed: %w", err) + } + // Otherwise, just log the warning compileLog.Printf("Action SHA validation completed with warnings: %v", err) } } @@ -125,7 +129,11 @@ func CompileWorkflowDataWithValidation(compiler *workflow.Compiler, workflowData // Use the compiler's shared action cache to benefit from cached resolutions actionCache := compiler.GetSharedActionCache() if err := workflow.ValidateActionSHAsInLockFile(lockFile, actionCache, verbose); err != nil { - // Action SHA validation warnings are non-fatal + // In strict mode, SHA mismatches are fatal + if strict { + return fmt.Errorf("action SHA validation failed: %w", err) + } + // Otherwise, just log the warning compileLog.Printf("Action SHA validation completed with warnings: %v", err) } } diff --git a/pkg/workflow/action_sha_checker.go b/pkg/workflow/action_sha_checker.go index 2d8d07ae65..c9bdf1c179 100644 --- a/pkg/workflow/action_sha_checker.go +++ b/pkg/workflow/action_sha_checker.go @@ -183,11 +183,13 @@ func ValidateActionSHAsInLockFile(lockFilePath string, cache *ActionCache, verbo if verbose { fmt.Fprintln(os.Stderr, console.FormatInfoMessage(fmt.Sprintf("Found %d action(s) with available updates", updateCount))) } - } else { - actionSHACheckerLog.Print("All actions are up to date") - if verbose { - fmt.Fprintln(os.Stderr, console.FormatSuccessMessage("All pinned actions are up to date")) - } + // Return an error indicating outdated SHAs were found + return fmt.Errorf("found %d action(s) with outdated SHAs", updateCount) + } + + actionSHACheckerLog.Print("All actions are up to date") + if verbose { + fmt.Fprintln(os.Stderr, console.FormatSuccessMessage("All pinned actions are up to date")) } return nil diff --git a/pkg/workflow/action_sha_checker_integration_test.go b/pkg/workflow/action_sha_checker_integration_test.go index afe633d372..b3ac749297 100644 --- a/pkg/workflow/action_sha_checker_integration_test.go +++ b/pkg/workflow/action_sha_checker_integration_test.go @@ -74,12 +74,14 @@ jobs: t.Fatalf("Failed to create outdated lock file: %v", err) } - // Test 2: Validation with outdated actions (should emit warnings but not error) + // Test 2: Validation with outdated actions (should return error with count of outdated actions) t.Run("Outdated", func(t *testing.T) { - // Note: This will emit warnings to stderr, but should not return an error + // This should return an error indicating outdated SHAs were found err := ValidateActionSHAsInLockFile(outdatedLockFile, cache, false) - if err != nil { - t.Errorf("Unexpected error with outdated actions: %v", err) + if err == nil { + t.Error("Expected error with outdated actions, got nil") + } else if !strings.Contains(err.Error(), "outdated SHAs") { + t.Errorf("Expected error about outdated SHAs, got: %v", err) } }) }