diff --git a/.github/workflows/archie.lock.yml b/.github/workflows/archie.lock.yml index 3b8901d9162..d3affebd0f6 100644 --- a/.github/workflows/archie.lock.yml +++ b/.github/workflows/archie.lock.yml @@ -1168,6 +1168,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -3641,6 +3642,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -4821,6 +4826,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} timeout-minutes: 10 diff --git a/.github/workflows/artifacts-summary.lock.yml b/.github/workflows/artifacts-summary.lock.yml index b49db6399f6..6a7ca97306d 100644 --- a/.github/workflows/artifacts-summary.lock.yml +++ b/.github/workflows/artifacts-summary.lock.yml @@ -149,6 +149,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -2509,6 +2510,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -4327,6 +4332,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/audit-workflows.lock.yml b/.github/workflows/audit-workflows.lock.yml index 68c717c7c9f..0eac97a8fd9 100644 --- a/.github/workflows/audit-workflows.lock.yml +++ b/.github/workflows/audit-workflows.lock.yml @@ -167,6 +167,7 @@ jobs: GH_AW_ASSETS_MAX_SIZE_KB: 10240 GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -3551,6 +3552,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -4582,6 +4587,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/blog-auditor.lock.yml b/.github/workflows/blog-auditor.lock.yml index bd14e8f85c1..7805a6c0d22 100644 --- a/.github/workflows/blog-auditor.lock.yml +++ b/.github/workflows/blog-auditor.lock.yml @@ -151,6 +151,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -2897,6 +2898,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -3922,6 +3927,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/brave.lock.yml b/.github/workflows/brave.lock.yml index fd4e5560a66..ab941a7f469 100644 --- a/.github/workflows/brave.lock.yml +++ b/.github/workflows/brave.lock.yml @@ -1148,6 +1148,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -3488,6 +3489,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -4668,6 +4673,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} timeout-minutes: 10 diff --git a/.github/workflows/ci-doctor.lock.yml b/.github/workflows/ci-doctor.lock.yml index 1229780b5d4..0cb135eb7f9 100644 --- a/.github/workflows/ci-doctor.lock.yml +++ b/.github/workflows/ci-doctor.lock.yml @@ -578,6 +578,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -2988,6 +2989,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -4523,6 +4528,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/cli-consistency-checker.lock.yml b/.github/workflows/cli-consistency-checker.lock.yml index c8eca46ed74..1bda66348e1 100644 --- a/.github/workflows/cli-consistency-checker.lock.yml +++ b/.github/workflows/cli-consistency-checker.lock.yml @@ -149,6 +149,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -2551,6 +2552,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -4451,6 +4456,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/cli-version-checker.lock.yml b/.github/workflows/cli-version-checker.lock.yml index a516d87d072..1c274134384 100644 --- a/.github/workflows/cli-version-checker.lock.yml +++ b/.github/workflows/cli-version-checker.lock.yml @@ -153,6 +153,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -2727,6 +2728,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -4627,6 +4632,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/commit-changes-analyzer.lock.yml b/.github/workflows/commit-changes-analyzer.lock.yml index ebf56f179db..50be8793112 100644 --- a/.github/workflows/commit-changes-analyzer.lock.yml +++ b/.github/workflows/commit-changes-analyzer.lock.yml @@ -154,6 +154,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -2828,6 +2829,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -3851,6 +3856,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/copilot-agent-analysis.lock.yml b/.github/workflows/copilot-agent-analysis.lock.yml index 7da37ca40e6..5e5b1f78647 100644 --- a/.github/workflows/copilot-agent-analysis.lock.yml +++ b/.github/workflows/copilot-agent-analysis.lock.yml @@ -156,6 +156,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -3181,6 +3182,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -4205,6 +4210,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/copilot-pr-nlp-analysis.lock.yml b/.github/workflows/copilot-pr-nlp-analysis.lock.yml index fda116b0468..b33aeefb85e 100644 --- a/.github/workflows/copilot-pr-nlp-analysis.lock.yml +++ b/.github/workflows/copilot-pr-nlp-analysis.lock.yml @@ -157,6 +157,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -3266,6 +3267,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -5085,6 +5090,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/copilot-pr-prompt-analysis.lock.yml b/.github/workflows/copilot-pr-prompt-analysis.lock.yml index 753276a5f6a..551e8856853 100644 --- a/.github/workflows/copilot-pr-prompt-analysis.lock.yml +++ b/.github/workflows/copilot-pr-prompt-analysis.lock.yml @@ -156,6 +156,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -2849,6 +2850,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -4668,6 +4673,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/copilot-session-insights.lock.yml b/.github/workflows/copilot-session-insights.lock.yml index 073eda6ae32..eceba05f066 100644 --- a/.github/workflows/copilot-session-insights.lock.yml +++ b/.github/workflows/copilot-session-insights.lock.yml @@ -164,6 +164,7 @@ jobs: GH_AW_ASSETS_MAX_SIZE_KB: 10240 GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -4099,6 +4100,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -5130,6 +5135,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/craft.lock.yml b/.github/workflows/craft.lock.yml index e0613538058..cdf0bdd5214 100644 --- a/.github/workflows/craft.lock.yml +++ b/.github/workflows/craft.lock.yml @@ -1148,6 +1148,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -3641,6 +3642,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -4952,6 +4957,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} timeout-minutes: 10 diff --git a/.github/workflows/daily-code-metrics.lock.yml b/.github/workflows/daily-code-metrics.lock.yml index 17c0e4be037..933fa85cdc4 100644 --- a/.github/workflows/daily-code-metrics.lock.yml +++ b/.github/workflows/daily-code-metrics.lock.yml @@ -153,6 +153,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -3157,6 +3158,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -4180,6 +4185,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/daily-doc-updater.lock.yml b/.github/workflows/daily-doc-updater.lock.yml index a719a7a7e63..5fff43ad32b 100644 --- a/.github/workflows/daily-doc-updater.lock.yml +++ b/.github/workflows/daily-doc-updater.lock.yml @@ -150,6 +150,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -2761,6 +2762,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -4264,6 +4269,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/daily-firewall-report.lock.yml b/.github/workflows/daily-firewall-report.lock.yml index 76ae6823a80..7616b09c86f 100644 --- a/.github/workflows/daily-firewall-report.lock.yml +++ b/.github/workflows/daily-firewall-report.lock.yml @@ -163,6 +163,7 @@ jobs: GH_AW_ASSETS_MAX_SIZE_KB: 10240 GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -3267,6 +3268,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -5092,6 +5097,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/daily-news.lock.yml b/.github/workflows/daily-news.lock.yml index 6956b1ed3a8..2ff0f45efc3 100644 --- a/.github/workflows/daily-news.lock.yml +++ b/.github/workflows/daily-news.lock.yml @@ -167,6 +167,7 @@ jobs: GH_AW_ASSETS_MAX_SIZE_KB: 10240 GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -3276,6 +3277,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -5102,6 +5107,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/daily-perf-improver.lock.yml b/.github/workflows/daily-perf-improver.lock.yml index 5181959d9d3..2c5b2932c75 100644 --- a/.github/workflows/daily-perf-improver.lock.yml +++ b/.github/workflows/daily-perf-improver.lock.yml @@ -600,6 +600,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -3040,6 +3041,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -5231,6 +5236,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/daily-repo-chronicle.lock.yml b/.github/workflows/daily-repo-chronicle.lock.yml index ef5be2151a3..8f7ad0badc1 100644 --- a/.github/workflows/daily-repo-chronicle.lock.yml +++ b/.github/workflows/daily-repo-chronicle.lock.yml @@ -163,6 +163,7 @@ jobs: GH_AW_ASSETS_MAX_SIZE_KB: 10240 GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -3120,6 +3121,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -4946,6 +4951,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/daily-test-improver.lock.yml b/.github/workflows/daily-test-improver.lock.yml index fb060689457..245458eb50e 100644 --- a/.github/workflows/daily-test-improver.lock.yml +++ b/.github/workflows/daily-test-improver.lock.yml @@ -600,6 +600,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -3014,6 +3015,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -5205,6 +5210,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/dependabot-go-checker.lock.yml b/.github/workflows/dependabot-go-checker.lock.yml index 73e68135c80..d2bae588575 100644 --- a/.github/workflows/dependabot-go-checker.lock.yml +++ b/.github/workflows/dependabot-go-checker.lock.yml @@ -151,6 +151,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -2524,6 +2525,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -4057,6 +4062,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/dev-hawk.lock.yml b/.github/workflows/dev-hawk.lock.yml index 23cce52e282..58af1114299 100644 --- a/.github/workflows/dev-hawk.lock.yml +++ b/.github/workflows/dev-hawk.lock.yml @@ -561,6 +561,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -2880,6 +2881,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -4060,6 +4065,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/developer-docs-consolidator.lock.yml b/.github/workflows/developer-docs-consolidator.lock.yml index c524002e90b..fd7725f3829 100644 --- a/.github/workflows/developer-docs-consolidator.lock.yml +++ b/.github/workflows/developer-docs-consolidator.lock.yml @@ -166,6 +166,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -3308,6 +3309,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -5068,6 +5073,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/dictation-prompt.lock.yml b/.github/workflows/dictation-prompt.lock.yml index 0cfa7be5062..8ce5c921b22 100644 --- a/.github/workflows/dictation-prompt.lock.yml +++ b/.github/workflows/dictation-prompt.lock.yml @@ -152,6 +152,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -2504,6 +2505,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -4421,6 +4426,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/duplicate-code-detector.lock.yml b/.github/workflows/duplicate-code-detector.lock.yml index dc7a0e3df69..469efa249d1 100644 --- a/.github/workflows/duplicate-code-detector.lock.yml +++ b/.github/workflows/duplicate-code-detector.lock.yml @@ -157,6 +157,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -2582,6 +2583,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -3585,6 +3590,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/example-workflow-analyzer.lock.yml b/.github/workflows/example-workflow-analyzer.lock.yml index 8206be899bf..905765d240b 100644 --- a/.github/workflows/example-workflow-analyzer.lock.yml +++ b/.github/workflows/example-workflow-analyzer.lock.yml @@ -153,6 +153,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -2610,6 +2611,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -3634,6 +3639,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/github-mcp-tools-report.lock.yml b/.github/workflows/github-mcp-tools-report.lock.yml index 4ae272e62e3..7dd265ba49e 100644 --- a/.github/workflows/github-mcp-tools-report.lock.yml +++ b/.github/workflows/github-mcp-tools-report.lock.yml @@ -165,6 +165,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -3130,6 +3131,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -4904,6 +4909,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/go-logger.lock.yml b/.github/workflows/go-logger.lock.yml index 80c61c1e2a3..d51d48a0adb 100644 --- a/.github/workflows/go-logger.lock.yml +++ b/.github/workflows/go-logger.lock.yml @@ -152,6 +152,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -2880,6 +2881,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -4369,6 +4374,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/go-pattern-detector.lock.yml b/.github/workflows/go-pattern-detector.lock.yml index e6f85176a8f..d9c2220005a 100644 --- a/.github/workflows/go-pattern-detector.lock.yml +++ b/.github/workflows/go-pattern-detector.lock.yml @@ -156,6 +156,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -2654,6 +2655,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -3759,6 +3764,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} timeout-minutes: 10 diff --git a/.github/workflows/grumpy-reviewer.lock.yml b/.github/workflows/grumpy-reviewer.lock.yml index 4585d3f62ef..852e6512bf5 100644 --- a/.github/workflows/grumpy-reviewer.lock.yml +++ b/.github/workflows/grumpy-reviewer.lock.yml @@ -1153,6 +1153,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -3543,6 +3544,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -5054,6 +5059,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} timeout-minutes: 10 diff --git a/.github/workflows/instructions-janitor.lock.yml b/.github/workflows/instructions-janitor.lock.yml index 0f3fe5c6d43..88daeecc87a 100644 --- a/.github/workflows/instructions-janitor.lock.yml +++ b/.github/workflows/instructions-janitor.lock.yml @@ -150,6 +150,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -2759,6 +2760,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -4248,6 +4253,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/issue-classifier.lock.yml b/.github/workflows/issue-classifier.lock.yml index 3819693eb26..ba31b79e9a0 100644 --- a/.github/workflows/issue-classifier.lock.yml +++ b/.github/workflows/issue-classifier.lock.yml @@ -1006,6 +1006,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -3186,6 +3187,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -3212,6 +3217,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} timeout-minutes: 10 diff --git a/.github/workflows/lockfile-stats.lock.yml b/.github/workflows/lockfile-stats.lock.yml index 36b5a1b2e90..c5f17bd01d8 100644 --- a/.github/workflows/lockfile-stats.lock.yml +++ b/.github/workflows/lockfile-stats.lock.yml @@ -153,6 +153,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -2965,6 +2966,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -3988,6 +3993,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/mcp-inspector.lock.yml b/.github/workflows/mcp-inspector.lock.yml index 1796f924a56..689f611c431 100644 --- a/.github/workflows/mcp-inspector.lock.yml +++ b/.github/workflows/mcp-inspector.lock.yml @@ -183,6 +183,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -3082,6 +3083,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -4900,6 +4905,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/mergefest.lock.yml b/.github/workflows/mergefest.lock.yml index a11a18f4c43..960a9b70ac0 100644 --- a/.github/workflows/mergefest.lock.yml +++ b/.github/workflows/mergefest.lock.yml @@ -496,6 +496,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -3066,6 +3067,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -4377,6 +4382,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} timeout-minutes: 10 diff --git a/.github/workflows/notion-issue-summary.lock.yml b/.github/workflows/notion-issue-summary.lock.yml index eb879ba9f22..4e7fddd8e40 100644 --- a/.github/workflows/notion-issue-summary.lock.yml +++ b/.github/workflows/notion-issue-summary.lock.yml @@ -148,6 +148,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -2367,6 +2368,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output diff --git a/.github/workflows/pdf-summary.lock.yml b/.github/workflows/pdf-summary.lock.yml index 081510e1705..faaf85487de 100644 --- a/.github/workflows/pdf-summary.lock.yml +++ b/.github/workflows/pdf-summary.lock.yml @@ -1170,6 +1170,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -3594,6 +3595,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -4774,6 +4779,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} timeout-minutes: 10 diff --git a/.github/workflows/plan.lock.yml b/.github/workflows/plan.lock.yml index 1e987429353..cb2a5660953 100644 --- a/.github/workflows/plan.lock.yml +++ b/.github/workflows/plan.lock.yml @@ -742,6 +742,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -3070,6 +3071,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -4603,6 +4608,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} timeout-minutes: 10 diff --git a/.github/workflows/poem-bot.lock.yml b/.github/workflows/poem-bot.lock.yml index 854f8e4480e..6661a815c6e 100644 --- a/.github/workflows/poem-bot.lock.yml +++ b/.github/workflows/poem-bot.lock.yml @@ -1469,6 +1469,7 @@ jobs: GH_AW_ASSETS_MAX_SIZE_KB: 10240 GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -3863,6 +3864,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -6488,6 +6493,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} timeout-minutes: 10 diff --git a/.github/workflows/pr-nitpick-reviewer.lock.yml b/.github/workflows/pr-nitpick-reviewer.lock.yml index 09d09cda6b9..728fe9b44fa 100644 --- a/.github/workflows/pr-nitpick-reviewer.lock.yml +++ b/.github/workflows/pr-nitpick-reviewer.lock.yml @@ -950,6 +950,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -3642,6 +3643,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -5425,6 +5430,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} timeout-minutes: 10 diff --git a/.github/workflows/prompt-clustering-analysis.lock.yml b/.github/workflows/prompt-clustering-analysis.lock.yml index 24ecdacbbac..63638810936 100644 --- a/.github/workflows/prompt-clustering-analysis.lock.yml +++ b/.github/workflows/prompt-clustering-analysis.lock.yml @@ -161,6 +161,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -3301,6 +3302,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -4325,6 +4330,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/python-data-charts.lock.yml b/.github/workflows/python-data-charts.lock.yml index 07d5053371e..cba5bf7b185 100644 --- a/.github/workflows/python-data-charts.lock.yml +++ b/.github/workflows/python-data-charts.lock.yml @@ -161,6 +161,7 @@ jobs: GH_AW_ASSETS_MAX_SIZE_KB: 10240 GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -3444,6 +3445,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -5269,6 +5274,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/q.lock.yml b/.github/workflows/q.lock.yml index 05bd6bde8fe..cd920fee0cc 100644 --- a/.github/workflows/q.lock.yml +++ b/.github/workflows/q.lock.yml @@ -1197,6 +1197,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -3927,6 +3928,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -5858,6 +5863,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} timeout-minutes: 10 diff --git a/.github/workflows/repo-tree-map.lock.yml b/.github/workflows/repo-tree-map.lock.yml index 0541803a383..92ee8dfd596 100644 --- a/.github/workflows/repo-tree-map.lock.yml +++ b/.github/workflows/repo-tree-map.lock.yml @@ -151,6 +151,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -2539,6 +2540,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -3990,6 +3995,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/repository-quality-improver.lock.yml b/.github/workflows/repository-quality-improver.lock.yml index 9f5eed42b4b..12b69d2328a 100644 --- a/.github/workflows/repository-quality-improver.lock.yml +++ b/.github/workflows/repository-quality-improver.lock.yml @@ -162,6 +162,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -2966,6 +2967,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -4417,6 +4422,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/research.lock.yml b/.github/workflows/research.lock.yml index 5e64c5f7aef..11afa2e0986 100644 --- a/.github/workflows/research.lock.yml +++ b/.github/workflows/research.lock.yml @@ -155,6 +155,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -2473,6 +2474,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -4291,6 +4296,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/safe-output-health.lock.yml b/.github/workflows/safe-output-health.lock.yml index d49abeb588a..772a9fffcc0 100644 --- a/.github/workflows/safe-output-health.lock.yml +++ b/.github/workflows/safe-output-health.lock.yml @@ -159,6 +159,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -3098,6 +3099,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -4121,6 +4126,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/schema-consistency-checker.lock.yml b/.github/workflows/schema-consistency-checker.lock.yml index b024e873f78..4b79e530102 100644 --- a/.github/workflows/schema-consistency-checker.lock.yml +++ b/.github/workflows/schema-consistency-checker.lock.yml @@ -155,6 +155,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -2971,6 +2972,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -3995,6 +4000,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/scout.lock.yml b/.github/workflows/scout.lock.yml index 70247e431ec..87ded4f258e 100644 --- a/.github/workflows/scout.lock.yml +++ b/.github/workflows/scout.lock.yml @@ -1196,6 +1196,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -4045,6 +4046,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -4797,6 +4802,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} timeout-minutes: 10 diff --git a/.github/workflows/security-fix-pr.lock.yml b/.github/workflows/security-fix-pr.lock.yml index 6fc83e5cdd3..e28298c1275 100644 --- a/.github/workflows/security-fix-pr.lock.yml +++ b/.github/workflows/security-fix-pr.lock.yml @@ -148,6 +148,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -2707,6 +2708,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -4210,6 +4215,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/semantic-function-refactor.lock.yml b/.github/workflows/semantic-function-refactor.lock.yml index cc2ef871bc9..160b93d72ad 100644 --- a/.github/workflows/semantic-function-refactor.lock.yml +++ b/.github/workflows/semantic-function-refactor.lock.yml @@ -158,6 +158,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -3059,6 +3060,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -4164,6 +4169,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/smoke-claude.lock.yml b/.github/workflows/smoke-claude.lock.yml index dcafdb55cd4..1bf7136e1ff 100644 --- a/.github/workflows/smoke-claude.lock.yml +++ b/.github/workflows/smoke-claude.lock.yml @@ -161,6 +161,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -2621,6 +2622,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -3725,6 +3730,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} timeout-minutes: 10 diff --git a/.github/workflows/smoke-codex.lock.yml b/.github/workflows/smoke-codex.lock.yml index f3cf5fa4c2c..982a90a903f 100644 --- a/.github/workflows/smoke-codex.lock.yml +++ b/.github/workflows/smoke-codex.lock.yml @@ -157,6 +157,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -2323,6 +2324,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -3265,6 +3270,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} timeout-minutes: 10 diff --git a/.github/workflows/smoke-copilot.lock.yml b/.github/workflows/smoke-copilot.lock.yml index 5a66edff1b6..ef5661b0ba5 100644 --- a/.github/workflows/smoke-copilot.lock.yml +++ b/.github/workflows/smoke-copilot.lock.yml @@ -157,6 +157,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -2393,6 +2394,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -4292,6 +4297,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} timeout-minutes: 10 diff --git a/.github/workflows/smoke-detector.lock.yml b/.github/workflows/smoke-detector.lock.yml index 30407de6602..1496e621ee6 100644 --- a/.github/workflows/smoke-detector.lock.yml +++ b/.github/workflows/smoke-detector.lock.yml @@ -943,6 +943,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -3687,6 +3688,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -4792,6 +4797,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/static-analysis-report.lock.yml b/.github/workflows/static-analysis-report.lock.yml index f262148ad42..d69dedcad6a 100644 --- a/.github/workflows/static-analysis-report.lock.yml +++ b/.github/workflows/static-analysis-report.lock.yml @@ -158,6 +158,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -2986,6 +2987,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -4009,6 +4014,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/super-linter.lock.yml b/.github/workflows/super-linter.lock.yml index 73cd32ce59f..0f33b3a8f9c 100644 --- a/.github/workflows/super-linter.lock.yml +++ b/.github/workflows/super-linter.lock.yml @@ -160,6 +160,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -2610,6 +2611,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -4143,6 +4148,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/technical-doc-writer.lock.yml b/.github/workflows/technical-doc-writer.lock.yml index 7f4701e57f4..ca713a094a8 100644 --- a/.github/workflows/technical-doc-writer.lock.yml +++ b/.github/workflows/technical-doc-writer.lock.yml @@ -581,6 +581,7 @@ jobs: GH_AW_ASSETS_MAX_SIZE_KB: 10240 GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -3286,6 +3287,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -5591,6 +5596,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/test-ollama-threat-detection.lock.yml b/.github/workflows/test-ollama-threat-detection.lock.yml index ff671acc10e..7a2379de68d 100644 --- a/.github/workflows/test-ollama-threat-detection.lock.yml +++ b/.github/workflows/test-ollama-threat-detection.lock.yml @@ -147,6 +147,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -2339,6 +2340,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -3872,6 +3877,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/tidy.lock.yml b/.github/workflows/tidy.lock.yml index 24a955c1c81..ab16cd98fc9 100644 --- a/.github/workflows/tidy.lock.yml +++ b/.github/workflows/tidy.lock.yml @@ -513,6 +513,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -2869,6 +2870,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -4800,6 +4805,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} timeout-minutes: 10 diff --git a/.github/workflows/typist.lock.yml b/.github/workflows/typist.lock.yml index 7b3c228205b..c02650fbd25 100644 --- a/.github/workflows/typist.lock.yml +++ b/.github/workflows/typist.lock.yml @@ -158,6 +158,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -3129,6 +3130,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -4152,6 +4157,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/unbloat-docs.lock.yml b/.github/workflows/unbloat-docs.lock.yml index f2a9f29450a..45cfaab86c4 100644 --- a/.github/workflows/unbloat-docs.lock.yml +++ b/.github/workflows/unbloat-docs.lock.yml @@ -930,6 +930,7 @@ jobs: GH_AW_ASSETS_MAX_SIZE_KB: 10240 GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -3784,6 +3785,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -5280,6 +5285,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} timeout-minutes: 10 diff --git a/.github/workflows/video-analyzer.lock.yml b/.github/workflows/video-analyzer.lock.yml index 19c08de0456..cb8d30d83fe 100644 --- a/.github/workflows/video-analyzer.lock.yml +++ b/.github/workflows/video-analyzer.lock.yml @@ -154,6 +154,7 @@ jobs: env: GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -2630,6 +2631,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -4163,6 +4168,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/.github/workflows/weekly-issue-summary.lock.yml b/.github/workflows/weekly-issue-summary.lock.yml index 2ca33850582..f1e366a7430 100644 --- a/.github/workflows/weekly-issue-summary.lock.yml +++ b/.github/workflows/weekly-issue-summary.lock.yml @@ -157,6 +157,7 @@ jobs: GH_AW_ASSETS_MAX_SIZE_KB: 10240 GH_AW_SAFE_OUTPUTS: /tmp/gh-aw/safeoutputs/outputs.jsonl outputs: + has_patch: ${{ steps.collect_output.outputs.has_patch }} output: ${{ steps.collect_output.outputs.output }} output_types: ${{ steps.collect_output.outputs.output_types }} steps: @@ -3028,6 +3029,10 @@ jobs: const outputTypes = Array.from(new Set(parsedItems.map(item => item.type))); core.info(`output_types: ${outputTypes.join(", ")}`); core.setOutput("output_types", outputTypes.join(",")); + const patchPath = "/tmp/gh-aw/aw.patch"; + const hasPatch = fs.existsSync(patchPath); + core.info(`Patch file ${hasPatch ? "exists" : "does not exist"} at: ${patchPath}`); + core.setOutput("has_patch", hasPatch ? "true" : "false"); } await main(); - name: Upload sanitized agent output @@ -4855,6 +4860,7 @@ jobs: detection: needs: agent + if: needs.agent.outputs.output_types != '' || needs.agent.outputs.has_patch == 'true' runs-on: ubuntu-latest permissions: {} concurrency: diff --git a/pkg/cli/mcp_inspect.go b/pkg/cli/mcp_inspect.go index d87f4415db3..2fe39b0ded8 100644 --- a/pkg/cli/mcp_inspect.go +++ b/pkg/cli/mcp_inspect.go @@ -271,7 +271,7 @@ and displays the results in a formatted table. It supports stdio, Docker, and HT Examples: gh aw mcp inspect # List workflows with MCP servers gh aw mcp inspect weekly-research # Inspect MCP servers in weekly-research.md - gh aw mcp inspect repomind --server repo-mind # Inspect only the repo-mind server + gh aw mcp inspect daily-news --server tavily # Inspect only the tavily server gh aw mcp inspect weekly-research --server github --tool create_issue # Show details for a specific tool gh aw mcp inspect weekly-research -v # Verbose output with detailed connection info gh aw mcp inspect weekly-research --inspector # Launch @modelcontextprotocol/inspector @@ -546,6 +546,7 @@ and displays the results in a formatted table. It supports stdio, Docker, and HT Examples: gh aw mcp inspect # List workflows with MCP servers gh aw mcp inspect weekly-research # Inspect MCP servers in weekly-research.md + gh aw mcp inspect daily-news --server tavily # Inspect only the tavily server gh aw mcp inspect weekly-research --server github --tool create_issue # Show details for a specific tool gh aw mcp inspect weekly-research -v # Verbose output with detailed connection info gh aw mcp inspect weekly-research --inspector # Launch @modelcontextprotocol/inspector