π« Toolkit to help you get started with SDD or any other process!
fix(bug-assess): set min-integrity: none to allow reading external user issues (#3030)
Copilot9775c2719ed5
diff --git a/.github/aw/actions-lock.json b/.github/aw/actions-lock.jsonindex 66e014635..2fc91e5a3 100644--- a/.github/aw/actions-lock.json+++ b/.github/aw/actions-lock.json@@ -4,11 +4,6 @@"repo": "actions/github-script","version": "v9.0.0","sha": "3a2844b7e9c422d3c10d287c895573f7108da1b3"- },- "github/gh-aw-actions/[email protected]": {- "repo": "github/gh-aw-actions/setup",- "version": "v0.78.1",- "sha": "73ed520ae4ecd087a485e1991605595978b32ac1"}}}diff --git a/.github/dependabot.yml b/.github/dependabot.ymlindex 14a1756d9..476a58cc8 100644--- a/.github/dependabot.yml+++ b/.github/dependabot.yml@@ -5,7 +5,8 @@ updates:interval: weekly- directory: /ignore:- - dependency-name: "github/gh-aw-actions/**" # Managed by gh aw compile. Version-locked to the gh-aw compiler; do not bump.+ - dependency-name: "github/gh-aw-actions/**"+ - dependency-name: "github/gh-aw-actions" # Managed by gh aw compile. Version-locked to the gh-aw compiler; do not bump.package-ecosystem: github-actionsschedule:interval: weeklydiff --git a/.github/workflows/bug-assess.lock.yml b/.github/workflows/bug-assess.lock.ymlindex 4ea61974f..4e9d5e7a7 100644--- a/.github/workflows/bug-assess.lock.yml+++ b/.github/workflows/bug-assess.lock.yml@@ -1,5 +1,7 @@-# gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"ca2e9ddc845fc19726fb461a27f328604d203de1669a946d36aeb97a4329bc69","body_hash":"44428ecd81ba0e5ed7bb16436052e6cc3479fe4ad02414812e574d17830a464e","compiler_version":"v0.78.1","strict":true,"agent_id":"copilot"}-# gh-aw-manifest: {"version":1,"secrets":["COPILOT_GITHUB_TOKEN","GH_AW_GITHUB_MCP_SERVER_TOKEN","GH_AW_GITHUB_TOKEN","GITHUB_TOKEN"],"actions":[{"repo":"actions/checkout","sha":"de0fac2e4500dabe0009e67214ff5f5447ce83dd","version":"v6.0.2"},{"repo":"actions/download-artifact","sha":"3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c","version":"v8.0.1"},{"repo":"actions/github-script","sha":"3a2844b7e9c422d3c10d287c895573f7108da1b3","version":"v9.0.0"},{"repo":"actions/setup-node","sha":"48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e","version":"v6.4.0"},{"repo":"actions/upload-artifact","sha":"043fb46d1a93c77aae656e7c1c64a875d1fc6a0a","version":"v7.0.1"},{"repo":"github/gh-aw-actions/setup","sha":"73ed520ae4ecd087a485e1991605595978b32ac1","version":"v0.78.1"}],"containers":[{"image":"ghcr.io/github/gh-aw-firewall/agent:0.25.58"},{"image":"ghcr.io/github/gh-aw-firewall/api-proxy:0.25.58"},{"image":"ghcr.io/github/gh-aw-firewall/squid:0.25.58"},{"image":"ghcr.io/github/gh-aw-mcpg:v0.3.22"},{"image":"ghcr.io/github/github-mcp-server:v1.1.0"},{"image":"node:lts-alpine","digest":"sha256:2bdb65ed1dab192432bc31c95f94155ca5ad7fc1392fb7eb7526ab682fa5bf14","pinned_image":"node:lts-alpine@sha256:2bdb65ed1dab192432bc31c95f94155ca5ad7fc1392fb7eb7526ab682fa5bf14"}]}+# gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"00c226f69fb7ec2b63755304328cee6ecddbcedbe4a9840310e5f430bd3949f0","body_hash":"44428ecd81ba0e5ed7bb16436052e6cc3479fe4ad02414812e574d17830a464e","compiler_version":"v0.79.8","strict":true,"agent_id":"copilot","engine_versions":{"copilot":"1.0.60"}}+# gh-aw-manifest: {"version":1,"secrets":["COPILOT_GITHUB_TOKEN","GH_AW_GITHUB_MCP_SERVER_TOKEN","GH_AW_GITHUB_TOKEN","GITHUB_TOKEN"],"actions":[{"repo":"actions/checkout","sha":"df4cb1c069e1874edd31b4311f1884172cec0e10","version":"v6.0.3"},{"repo":"actions/download-artifact","sha":"3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c","version":"v8.0.1"},{"repo":"actions/github-script","sha":"3a2844b7e9c422d3c10d287c895573f7108da1b3","version":"v9.0.0"},{"repo":"actions/setup-node","sha":"48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e","version":"v6.4.0"},{"repo":"actions/upload-artifact","sha":"043fb46d1a93c77aae656e7c1c64a875d1fc6a0a","version":"v7.0.1"},{"repo":"github/gh-aw-actions/setup","sha":"v0.79.8","version":"v0.79.8"}],"containers":[{"image":"ghcr.io/github/gh-aw-firewall/agent:0.27.2","digest":"sha256:f88e5b17b6b7a600117bc121114d6ce2155c88c983c0c939c5df884f730fa1d6","pinned_image":"ghcr.io/github/gh-aw-firewall/agent:0.27.2@sha256:f88e5b17b6b7a600117bc121114d6ce2155c88c983c0c939c5df884f730fa1d6"},{"image":"ghcr.io/github/gh-aw-firewall/api-proxy:0.27.2","digest":"sha256:ee39841d980878ebbb87592903b06d31a1af500c71525c9616f7e8e2a27041a4","pinned_image":"ghcr.io/github/gh-aw-firewall/api-proxy:0.27.2@sha256:ee39841d980878ebbb87592903b06d31a1af500c71525c9616f7e8e2a27041a4"},{"image":"ghcr.io/github/gh-aw-firewall/squid:0.27.2","digest":"sha256:2e3a717e5f19a654cd9a2263beb52012b56bcb68562ec5ae2e42f9d156b49591","pinned_image":"ghcr.io/github/gh-aw-firewall/squid:0.27.2@sha256:2e3a717e5f19a654cd9a2263beb52012b56bcb68562ec5ae2e42f9d156b49591"},{"image":"ghcr.io/github/gh-aw-mcpg:v0.3.25","digest":"sha256:c10331ad17668ef89f38f5e356678788a40b0cd5fef96e8f92e1d9c1de47cbaa","pinned_image":"ghcr.io/github/gh-aw-mcpg:v0.3.25@sha256:c10331ad17668ef89f38f5e356678788a40b0cd5fef96e8f92e1d9c1de47cbaa"},{"image":"ghcr.io/github/github-mcp-server:v1.1.2","digest":"sha256:30197479d8036c7811892bc07e06f9a05c9ef3cdd79bc59f256d50647f95788c","pinned_image":"ghcr.io/github/github-mcp-server:v1.1.2@sha256:30197479d8036c7811892bc07e06f9a05c9ef3cdd79bc59f256d50647f95788c"}]}+# This file was automatically generated by gh-aw (v0.79.8). DO NOT EDIT. To debug this workflow, load the skill at https://github.com/github/gh-aw/blob/main/debug.md+## ___ _ _# / _ \ | | (_)# | |_| | __ _ ___ _ __ | |_ _ ___@@ -14,7 +16,6 @@# \ /\ / (_) | | | | ( | | | | (_) \ V V /\__ \# \/ \/ \___/|_| |_|\_\|_| |_|\___/ \_/\_/ |___/#-# This file was automatically generated by gh-aw (v0.78.1). DO NOT EDIT.## To update this file, edit the corresponding .md file and run:# gh aw compile@@ -31,21 +32,19 @@# - GITHUB_TOKEN## Custom actions used:-# - actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+# - actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3# - actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1# - actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0-# - actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 (source v9)# - actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0# - actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1-# - github/gh-aw-actions/setup@73ed520ae4ecd087a485e1991605595978b32ac1 # v0.78.1+# - github/gh-aw-actions/setup@c0338fef4749d08c21f8f975fb0e37efa17dda47 # v0.79.8## Container images used:-# - ghcr.io/github/gh-aw-firewall/agent:0.25.58-# - ghcr.io/github/gh-aw-firewall/api-proxy:0.25.58-# - ghcr.io/github/gh-aw-firewall/squid:0.25.58-# - ghcr.io/github/gh-aw-mcpg:v0.3.22-# - ghcr.io/github/github-mcp-server:v1.1.0-# - node:lts-alpine@sha256:2bdb65ed1dab192432bc31c95f94155ca5ad7fc1392fb7eb7526ab682fa5bf14+# - ghcr.io/github/gh-aw-firewall/agent:0.27.2@sha256:f88e5b17b6b7a600117bc121114d6ce2155c88c983c0c939c5df884f730fa1d6+# - ghcr.io/github/gh-aw-firewall/api-proxy:0.27.2@sha256:ee39841d980878ebbb87592903b06d31a1af500c71525c9616f7e8e2a27041a4+# - ghcr.io/github/gh-aw-firewall/squid:0.27.2@sha256:2e3a717e5f19a654cd9a2263beb52012b56bcb68562ec5ae2e42f9d156b49591+# - ghcr.io/github/gh-aw-mcpg:v0.3.25@sha256:c10331ad17668ef89f38f5e356678788a40b0cd5fef96e8f92e1d9c1de47cbaa+# - ghcr.io/github/github-mcp-server:v1.1.2@sha256:30197479d8036c7811892bc07e06f9a05c9ef3cdd79bc59f256d50647f95788cname: "Assess Bug from Labeled Issue"on:@@ -76,13 +75,15 @@ jobs:permissions:actions: readcontents: read+ env:+ GH_AW_MAX_DAILY_AI_CREDITS: ${{ vars.GH_AW_DEFAULT_MAX_DAILY_AI_CREDITS || '5000' }}outputs:body: ${{ steps.sanitized.outputs.body }}comment_id: ""comment_repo: ""- daily_effective_workflow_exceeded: ${{ steps.daily-effective-workflow-guardrail.outputs.daily_effective_workflow_exceeded == 'true' }}- daily_effective_workflow_threshold: ${{ steps.daily-effective-workflow-guardrail.outputs.daily_effective_workflow_threshold || '' }}- daily_effective_workflow_total_effective_tokens: ${{ steps.daily-effective-workflow-guardrail.outputs.daily_effective_workflow_total_effective_tokens || '' }}+ daily_ai_credits_exceeded: ${{ steps.daily-effective-workflow-guardrail.outputs.daily_ai_credits_exceeded == 'true' }}+ daily_ai_credits_threshold: ${{ steps.daily-effective-workflow-guardrail.outputs.daily_ai_credits_threshold || '' }}+ daily_ai_credits_total_effective_tokens: ${{ steps.daily-effective-workflow-guardrail.outputs.daily_ai_credits_total_effective_tokens || '' }}engine_id: ${{ steps.generate_aw_info.outputs.engine_id }}lockdown_check_failed: ${{ steps.generate_aw_info.outputs.lockdown_check_failed == 'true' }}model: ${{ steps.generate_aw_info.outputs.model }}@@ -96,18 +97,18 @@ jobs:steps:- name: Setup Scriptsid: setup- uses: github/gh-aw-actions/setup@73ed520ae4ecd087a485e1991605595978b32ac1 # v0.78.1+ uses: github/gh-aw-actions/setup@c0338fef4749d08c21f8f975fb0e37efa17dda47 # v0.79.8with:destination: ${{ runner.temp }}/gh-aw/actionsjob-name: ${{ github.job }}trace-id: ${{ needs.pre_activation.outputs.setup-trace-id }}parent-span-id: ${{ needs.pre_activation.outputs.setup-parent-span-id || needs.pre_activation.outputs.setup-span-id }}- safe-output-artifact-client: ${{ env.GH_AW_MAX_DAILY_EFFECTIVE_TOKENS != '' }}+ safe-output-artifact-client: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }}env:GH_AW_SETUP_WORKFLOW_NAME: "Assess Bug from Labeled Issue"GH_AW_CURRENT_WORKFLOW_REF: ${{ github.repository }}/.github/workflows/bug-assess.lock.yml@${{ github.ref }}- GH_AW_INFO_VERSION: "1.0.55"- GH_AW_INFO_AWF_VERSION: "v0.25.58"+ GH_AW_INFO_VERSION: "1.0.60"+ GH_AW_INFO_AWF_VERSION: "v0.27.2"GH_AW_INFO_ENGINE_ID: "copilot"- name: Generate agentic run infoid: generate_aw_info@@ -115,16 +116,16 @@ jobs:GH_AW_INFO_ENGINE_ID: "copilot"GH_AW_INFO_ENGINE_NAME: "GitHub Copilot CLI"GH_AW_INFO_MODEL: ${{ vars.GH_AW_MODEL_AGENT_COPILOT || vars.GH_AW_DEFAULT_MODEL_COPILOT || 'claude-sonnet-4.6' }}- GH_AW_INFO_VERSION: "1.0.55"- GH_AW_INFO_AGENT_VERSION: "1.0.55"- GH_AW_INFO_CLI_VERSION: "v0.78.1"+ GH_AW_INFO_VERSION: "1.0.60"+ GH_AW_INFO_AGENT_VERSION: "1.0.60"+ GH_AW_INFO_CLI_VERSION: "v0.79.8"GH_AW_INFO_WORKFLOW_NAME: "Assess Bug from Labeled Issue"GH_AW_INFO_EXPERIMENTAL: "false"GH_AW_INFO_SUPPORTS_TOOLS_ALLOWLIST: "true"GH_AW_INFO_STAGED: "false"GH_AW_INFO_ALLOWED_DOMAINS: '["defaults"]'GH_AW_INFO_FIREWALL_ENABLED: "true"- GH_AW_INFO_AWF_VERSION: "v0.25.58"+ GH_AW_INFO_AWF_VERSION: "v0.27.2"GH_AW_INFO_AWMG_VERSION: ""GH_AW_INFO_FIREWALL_TYPE: "squid"GH_AW_INFO_FRONTMATTER_EMOJI: "π"@@ -138,7 +139,7 @@ jobs:await main(core, context);- name: Check daily workflow token guardrailid: daily-effective-workflow-guardrail- if: ${{ env.GH_AW_MAX_DAILY_EFFECTIVE_TOKENS != '' }}+ if: ${{ env.GH_AW_MAX_DAILY_AI_CREDITS != '' }}uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0env:GH_AW_WORKFLOW_NAME: "Assess Bug from Labeled Issue"@@ -146,12 +147,13 @@ jobs:GH_AW_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}GH_AW_WORKFLOW_DISPATCH_AW_CONTEXT: ${{ github.event.inputs.aw_context || '' }}GH_AW_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}+ GH_AW_MAX_DAILY_AI_CREDITS: ${{ vars.GH_AW_DEFAULT_MAX_DAILY_AI_CREDITS || '5000' }}with:github-token: ${{ secrets.GITHUB_TOKEN }}script: |const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');setupGlobals(core, github, context, exec, io, getOctokit);- const { main } = require('${{ runner.temp }}/gh-aw/actions/check_daily_effective_workflow_guardrail.cjs');+ const { main } = require('${{ runner.temp }}/gh-aw/actions/check_daily_aic_workflow_guardrail.cjs');await main();- name: Validate COPILOT_GITHUB_TOKEN secretid: validate-secret@@ -159,7 +161,7 @@ jobs:env:COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }}- name: Checkout .github and .agents folders- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3with:persist-credentials: falsesparse-checkout: |@@ -195,7 +197,7 @@ jobs:- name: Check compile-agentic versionuses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0env:- GH_AW_COMPILED_VERSION: "v0.78.1"+ GH_AW_COMPILED_VERSION: "v0.79.8"with:script: |const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');@@ -230,20 +232,20 @@ jobs:run: |bash "${RUNNER_TEMP}/gh-aw/actions/create_prompt_first.sh"{- cat << 'GH_AW_PROMPT_38146520bfe1d162_EOF'+ cat << 'GH_AW_PROMPT_d3bd348063b20b79_EOF'<system>- GH_AW_PROMPT_38146520bfe1d162_EOF+ GH_AW_PROMPT_d3bd348063b20b79_EOFcat "${RUNNER_TEMP}/gh-aw/prompts/xpia.md"cat "${RUNNER_TEMP}/gh-aw/prompts/temp_folder_prompt.md"cat "${RUNNER_TEMP}/gh-aw/prompts/markdown.md"cat "${RUNNER_TEMP}/gh-aw/prompts/safe_outputs_prompt.md"- cat << 'GH_AW_PROMPT_38146520bfe1d162_EOF'+ cat << 'GH_AW_PROMPT_d3bd348063b20b79_EOF'<safe-output-tools>Tools: add_comment, add_labels(max:2), missing_tool, missing_data, noop</safe-output-tools>- GH_AW_PROMPT_38146520bfe1d162_EOF+ GH_AW_PROMPT_d3bd348063b20b79_EOFcat "${RUNNER_TEMP}/gh-aw/prompts/mcp_cli_tools_prompt.md"- cat << 'GH_AW_PROMPT_38146520bfe1d162_EOF'+ cat << 'GH_AW_PROMPT_d3bd348063b20b79_EOF'<github-context>The following GitHub context information is available for this workflow:{{#if github.actor}}@@ -285,12 +287,12 @@ jobs:stop immediately and report the limitation rather than spending turns trying to work around it.</github-context>- GH_AW_PROMPT_38146520bfe1d162_EOF+ GH_AW_PROMPT_d3bd348063b20b79_EOFcat "${RUNNER_TEMP}/gh-aw/prompts/github_mcp_tools_with_safeoutputs_prompt.md"- cat << 'GH_AW_PROMPT_38146520bfe1d162_EOF'+ cat << 'GH_AW_PROMPT_d3bd348063b20b79_EOF'</system>{{#runtime-import .github/workflows/bug-assess.md}}- GH_AW_PROMPT_38146520bfe1d162_EOF+ GH_AW_PROMPT_d3bd348063b20b79_EOF} > "$GH_AW_PROMPT"- name: Interpolate variables and render templatesuses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0@@ -361,7 +363,7 @@ jobs:include-hidden-files: truepath: |/tmp/gh-aw/aw_info.json- /tmp/gh-aw/model_multipliers.json+ /tmp/gh-aw/models.json/tmp/gh-aw/aw-prompts/prompt.txt/tmp/gh-aw/aw-prompts/prompt-template.txt/tmp/gh-aw/aw-prompts/prompt-import-tree.json@@ -374,7 +376,7 @@ jobs:agent:needs: activation- if: needs.activation.outputs.daily_effective_workflow_exceeded != 'true'+ if: needs.activation.outputs.daily_ai_credits_exceeded != 'true'runs-on: ubuntu-latestpermissions:contents: read@@ -388,9 +390,11 @@ jobs:GH_AW_WORKFLOW_ID_SANITIZED: bugassessoutputs:agentic_engine_timeout: ${{ steps.detect-agent-errors.outputs.agentic_engine_timeout || 'false' }}+ ai_credits_rate_limit_error: ${{ steps.parse-mcp-gateway.outputs.ai_credits_rate_limit_error || 'false' }}+ aic: ${{ steps.parse-mcp-gateway.outputs.aic }}+ ambient_context: ${{ steps.parse-mcp-gateway.outputs.ambient_context }}checkout_pr_success: ${{ steps.checkout-pr.outputs.checkout_pr_success || 'true' }}effective_tokens: ${{ steps.parse-mcp-gateway.outputs.effective_tokens }}- effective_tokens_rate_limit_error: ${{ steps.parse-mcp-gateway.outputs.effective_tokens_rate_limit_error || 'false' }}has_patch: ${{ steps.collect_output.outputs.has_patch }}inference_access_error: ${{ steps.detect-agent-errors.outputs.inference_access_error || 'false' }}mcp_policy_error: ${{ steps.detect-agent-errors.outputs.mcp_policy_error || 'false' }}@@ -401,10 +405,11 @@ jobs:setup-parent-span-id: ${{ steps.setup.outputs.parent-span-id || steps.setup.outputs.span-id }}setup-span-id: ${{ steps.setup.outputs.span-id }}setup-trace-id: ${{ steps.setup.outputs.trace-id }}+ unknown_model_ai_credits: ${{ steps.parse-mcp-gateway.outputs.unknown_model_ai_credits || 'false' }}steps:- name: Setup Scriptsid: setup- uses: github/gh-aw-actions/setup@73ed520ae4ecd087a485e1991605595978b32ac1 # v0.78.1+ uses: github/gh-aw-actions/setup@c0338fef4749d08c21f8f975fb0e37efa17dda47 # v0.79.8with:destination: ${{ runner.temp }}/gh-aw/actionsjob-name: ${{ github.job }}@@ -413,8 +418,8 @@ jobs:env:GH_AW_SETUP_WORKFLOW_NAME: "Assess Bug from Labeled Issue"GH_AW_CURRENT_WORKFLOW_REF: ${{ github.repository }}/.github/workflows/bug-assess.lock.yml@${{ github.ref }}- GH_AW_INFO_VERSION: "1.0.55"- GH_AW_INFO_AWF_VERSION: "v0.25.58"+ GH_AW_INFO_VERSION: "1.0.60"+ GH_AW_INFO_AWF_VERSION: "v0.27.2"GH_AW_INFO_ENGINE_ID: "copilot"- name: Set runtime pathsid: set-runtime-paths@@ -425,7 +430,7 @@ jobs:echo "GH_AW_SAFE_OUTPUTS_TOOLS_PATH=${RUNNER_TEMP}/gh-aw/safeoutputs/tools.json"} >> "$GITHUB_OUTPUT"- name: Checkout repository- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3with:persist-credentials: falsefetch-depth: 0@@ -451,7 +456,7 @@ jobs:- name: Checkout PR branchid: checkout-prif: |- github.event.pull_request || github.event.issue.pull_request+ github.event.pull_request || github.event.issue.pull_request || github.event_name == 'workflow_dispatch' && fromJSON(github.event.inputs.aw_context || '{}').item_type == 'pull_request'uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0env:GH_TOKEN: ${{ secrets.GH_AW_GITHUB_MCP_SERVER_TOKEN || secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}@@ -463,21 +468,18 @@ jobs:const { main } = require('${{ runner.temp }}/gh-aw/actions/checkout_pr_branch.cjs');await main();- name: Install GitHub Copilot CLI- run: bash "${RUNNER_TEMP}/gh-aw/actions/install_copilot_cli.sh" 1.0.55+ run: bash "${RUNNER_TEMP}/gh-aw/actions/install_copilot_cli.sh" 1.0.60env:GH_HOST: github.com- name: Install AWF binary- run: bash "${RUNNER_TEMP}/gh-aw/actions/install_awf_binary.sh" v0.25.58- - name: Determine automatic lockdown mode for GitHub MCP Server- id: determine-automatic-lockdown- uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 (source v9)+ run: bash "${RUNNER_TEMP}/gh-aw/actions/install_awf_binary.sh" v0.27.2+ - name: Parse integrity filter lists+ id: parse-guard-varsenv:- GH_AW_GITHUB_TOKEN: ${{ secrets.GH_AW_GITHUB_TOKEN }}- GH_AW_GITHUB_MCP_SERVER_TOKEN: ${{ secrets.GH_AW_GITHUB_MCP_SERVER_TOKEN }}- with:- script: |- const determineAutomaticLockdown = require('${{ runner.temp }}/gh-aw/actions/determine_automatic_lockdown.cjs');- await determineAutomaticLockdown(github, context, core);+ GH_AW_BLOCKED_USERS_VAR: ${{ vars.GH_AW_GITHUB_BLOCKED_USERS || '' }}+ GH_AW_TRUSTED_USERS_VAR: ${{ vars.GH_AW_GITHUB_TRUSTED_USERS || '' }}+ GH_AW_APPROVAL_LABELS_VAR: ${{ vars.GH_AW_GITHUB_APPROVAL_LABELS || '' }}+ run: bash "${RUNNER_TEMP}/gh-aw/actions/parse_guard_list.sh"- name: Download activation artifactuses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1with:@@ -499,15 +501,15 @@ jobs:GH_AW_SKILL_DIR: ".github/skills"run: bash "${RUNNER_TEMP}/gh-aw/actions/restore_inline_skills.sh"- name: Download container images- run: bash "${RUNNER_TEMP}/gh-aw/actions/download_docker_images.sh" ghcr.io/github/gh-aw-firewall/agent:0.25.58 ghcr.io/github/gh-aw-firewall/api-proxy:0.25.58 ghcr.io/github/gh-aw-firewall/squid:0.25.58 ghcr.io/github/gh-aw-mcpg:v0.3.22 ghcr.io/github/github-mcp-server:v1.1.0 node:lts-alpine@sha256:2bdb65ed1dab192432bc31c95f94155ca5ad7fc1392fb7eb7526ab682fa5bf14+ run: bash "${RUNNER_TEMP}/gh-aw/actions/download_docker_images.sh" ghcr.io/github/gh-aw-firewall/agent:0.27.2@sha256:f88e5b17b6b7a600117bc121114d6ce2155c88c983c0c939c5df884f730fa1d6 ghcr.io/github/gh-aw-firewall/api-proxy:0.27.2@sha256:ee39841d980878ebbb87592903b06d31a1af500c71525c9616f7e8e2a27041a4 ghcr.io/github/gh-aw-firewall/squid:0.27.2@sha256:2e3a717e5f19a654cd9a2263beb52012b56bcb68562ec5ae2e42f9d156b49591 ghcr.io/github/gh-aw-mcpg:v0.3.25@sha256:c10331ad17668ef89f38f5e356678788a40b0cd5fef96e8f92e1d9c1de47cbaa ghcr.io/github/github-mcp-server:v1.1.2@sha256:30197479d8036c7811892bc07e06f9a05c9ef3cdd79bc59f256d50647f95788c- name: Generate Safe Outputs Configrun: |mkdir -p "${RUNNER_TEMP}/gh-aw/safeoutputs"mkdir -p /tmp/gh-aw/safeoutputsmkdir -p /tmp/gh-aw/mcp-logs/safeoutputs- cat > "${RUNNER_TEMP}/gh-aw/safeoutputs/config.json" << 'GH_AW_SAFE_OUTPUTS_CONFIG_78bd5462e491e4d1_EOF'+ cat > "${RUNNER_TEMP}/gh-aw/safeoutputs/config.json" << 'GH_AW_SAFE_OUTPUTS_CONFIG_a74312ce3d126d0e_EOF'{"add_comment":{"max":1},"add_labels":{"allowed":["needs-reproduction","invalid","severity-critical","severity-high","severity-medium","severity-low"],"max":2},"create_report_incomplete_issue":{},"missing_data":{},"missing_tool":{},"noop":{"max":1,"report-as-issue":"false"},"report_incomplete":{}}- GH_AW_SAFE_OUTPUTS_CONFIG_78bd5462e491e4d1_EOF+ GH_AW_SAFE_OUTPUTS_CONFIG_a74312ce3d126d0e_EOF- name: Generate Safe Outputs Toolsenv:GH_AW_TOOLS_META_JSON: |@@ -689,8 +691,6 @@ jobs:GH_AW_SAFE_OUTPUTS: ${{ steps.set-runtime-paths.outputs.GH_AW_SAFE_OUTPUTS }}GH_AW_SAFE_OUTPUTS_API_KEY: ${{ steps.safe-outputs-start.outputs.api_key }}GH_AW_SAFE_OUTPUTS_PORT: ${{ steps.safe-outputs-start.outputs.port }}- GITHUB_MCP_GUARD_MIN_INTEGRITY: ${{ steps.determine-automatic-lockdown.outputs.min_integrity }}- GITHUB_MCP_GUARD_REPOS: ${{ steps.determine-automatic-lockdown.outputs.repos }}GITHUB_MCP_SERVER_TOKEN: ${{ secrets.GH_AW_GITHUB_MCP_SERVER_TOKEN || secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}run: |set -eo pipefail@@ -717,16 +717,16 @@ jobs:* ) DOCKER_SOCK_PATH=/var/run/docker.sock ;;esacDOCKER_SOCK_GID=$(stat -c '%g' "$DOCKER_SOCK_PATH" 2>/dev/null || echo '0')- export MCP_GATEWAY_DOCKER_COMMAND='docker run -i --rm --network host --add-host host.docker.internal:127.0.0.1 --user '"${MCP_GATEWAY_UID}"':'"${MCP_GATEWAY_GID}"' --group-add '"${DOCKER_SOCK_GID}"' -v '"${DOCKER_SOCK_PATH}"':/var/run/docker.sock -e MCP_GATEWAY_PORT -e MCP_GATEWAY_DOMAIN -e MCP_GATEWAY_API_KEY -e MCP_GATEWAY_PAYLOAD_DIR -e MCP_GATEWAY_PAYLOAD_SIZE_THRESHOLD -e DOCKER_HOST=unix:///var/run/docker.sock -e DEBUG -e MCP_GATEWAY_LOG_DIR -e GH_AW_MCP_LOG_DIR -e GH_AW_SAFE_OUTPUTS -e GH_AW_SAFE_OUTPUTS_CONFIG_PATH -e GH_AW_SAFE_OUTPUTS_TOOLS_PATH -e GH_AW_ASSETS_BRANCH -e GH_AW_ASSETS_MAX_SIZE_KB -e GH_AW_ASSETS_ALLOWED_EXTS -e DEFAULT_BRANCH -e GITHUB_MCP_SERVER_TOKEN -e GITHUB_MCP_GUARD_MIN_INTEGRITY -e GITHUB_MCP_GUARD_REPOS -e GITHUB_REPOSITORY -e GITHUB_SERVER_URL -e GITHUB_SHA -e GITHUB_WORKSPACE -e GITHUB_TOKEN -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_RUN_ATTEMPT -e GITHUB_JOB -e GITHUB_ACTION -e GITHUB_EVENT_NAME -e GITHUB_EVENT_PATH -e GITHUB_ACTOR -e GITHUB_ACTOR_ID -e GITHUB_TRIGGERING_ACTOR -e GITHUB_WORKFLOW -e GITHUB_WORKFLOW_REF -e GITHUB_WORKFLOW_SHA -e GITHUB_REF -e GITHUB_REF_NAME -e GITHUB_REF_TYPE -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GH_AW_SAFE_OUTPUTS_PORT -e GH_AW_SAFE_OUTPUTS_API_KEY -v /tmp/gh-aw/mcp-payloads:/tmp/gh-aw/mcp-payloads:rw -v /opt:/opt:ro -v /tmp:/tmp:rw -v '"${GITHUB_WORKSPACE}"':'"${GITHUB_WORKSPACE}"':rw ghcr.io/github/gh-aw-mcpg:v0.3.22'+ export MCP_GATEWAY_DOCKER_COMMAND='docker run -i --rm --network host --add-host host.docker.internal:127.0.0.1 --user '"${MCP_GATEWAY_UID}"':'"${MCP_GATEWAY_GID}"' --group-add '"${DOCKER_SOCK_GID}"' -v '"${DOCKER_SOCK_PATH}"':/var/run/docker.sock -e MCP_GATEWAY_PORT -e MCP_GATEWAY_DOMAIN -e MCP_GATEWAY_API_KEY -e MCP_GATEWAY_PAYLOAD_DIR -e MCP_GATEWAY_PAYLOAD_SIZE_THRESHOLD -e DOCKER_HOST=unix:///var/run/docker.sock -e DEBUG -e MCP_GATEWAY_LOG_DIR -e GH_AW_MCP_LOG_DIR -e GH_AW_SAFE_OUTPUTS -e GH_AW_SAFE_OUTPUTS_CONFIG_PATH -e GH_AW_SAFE_OUTPUTS_TOOLS_PATH -e GH_AW_ASSETS_BRANCH -e GH_AW_ASSETS_MAX_SIZE_KB -e GH_AW_ASSETS_ALLOWED_EXTS -e DEFAULT_BRANCH -e GITHUB_MCP_SERVER_TOKEN -e GITHUB_MCP_GUARD_MIN_INTEGRITY -e GITHUB_MCP_GUARD_REPOS -e GITHUB_REPOSITORY -e GITHUB_SERVER_URL -e GITHUB_SHA -e GITHUB_WORKSPACE -e GITHUB_TOKEN -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_RUN_ATTEMPT -e GITHUB_JOB -e GITHUB_ACTION -e GITHUB_EVENT_NAME -e GITHUB_EVENT_PATH -e GITHUB_ACTOR -e GITHUB_ACTOR_ID -e GITHUB_TRIGGERING_ACTOR -e GITHUB_WORKFLOW -e GITHUB_WORKFLOW_REF -e GITHUB_WORKFLOW_SHA -e GITHUB_REF -e GITHUB_REF_NAME -e GITHUB_REF_TYPE -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GH_AW_SAFE_OUTPUTS_PORT -e GH_AW_SAFE_OUTPUTS_API_KEY -v /tmp/gh-aw/mcp-payloads:/tmp/gh-aw/mcp-payloads:rw -v /opt:/opt:ro -v /tmp:/tmp:rw -v '"${GITHUB_WORKSPACE}"':'"${GITHUB_WORKSPACE}"':rw ghcr.io/github/gh-aw-mcpg:v0.3.25'- mkdir -p /home/runner/.copilot+ mkdir -p "$HOME/.copilot"GH_AW_NODE=$(which node 2>/dev/null || command -v node 2>/dev/null || echo node)- cat << GH_AW_MCP_CONFIG_6ba0cc0bac862d9b_EOF | "$GH_AW_NODE" "${RUNNER_TEMP}/gh-aw/actions/start_mcp_gateway.cjs"+ cat << GH_AW_MCP_CONFIG_e6668539766ebde6_EOF | "$GH_AW_NODE" "${RUNNER_TEMP}/gh-aw/actions/start_mcp_gateway.cjs"{"mcpServers": {"github": {"type": "stdio",- "container": "ghcr.io/github/github-mcp-server:v1.1.0",+ "container": "ghcr.io/github/github-mcp-server:v1.1.2","env": {"GITHUB_HOST": "\${GITHUB_SERVER_URL}","GITHUB_PERSONAL_ACCESS_TOKEN": "\${GITHUB_MCP_SERVER_TOKEN}",@@ -735,8 +735,11 @@ jobs:},"guard-policies": {"allow-only": {- "min-integrity": "$GITHUB_MCP_GUARD_MIN_INTEGRITY",- "repos": "$GITHUB_MCP_GUARD_REPOS"+ "approval-labels": ${{ steps.parse-guard-vars.outputs.approval_labels }},+ "blocked-users": ${{ steps.parse-guard-vars.outputs.blocked_users }},+ "min-integrity": "none",+ "repos": "${GITHUB_REPOSITORY}",+ "trusted-users": ${{ steps.parse-guard-vars.outputs.trusted_users }}}}},@@ -762,7 +765,7 @@ jobs:"payloadDir": "${MCP_GATEWAY_PAYLOAD_DIR}"}}- GH_AW_MCP_CONFIG_6ba0cc0bac862d9b_EOF+ GH_AW_MCP_CONFIG_e6668539766ebde6_EOF- name: Mount MCP servers as CLIsid: mount-mcp-cliscontinue-on-error: true@@ -812,14 +815,20 @@ jobs:run: |set -o pipefailprintf '%s' "$(date +%s%3N)" > /tmp/gh-aw/agent_cli_start_ms.txt+ trap 'rm -f "$HOME/.copilot/settings.json"' EXIT+ mkdir -p "$HOME/.copilot"+ printf '%s' '{"builtInAgents":{"rubberDuck":false}}' > "$HOME/.copilot/settings.json"+ export XDG_CONFIG_HOME="$HOME"+ export GH_AW_MCP_CONFIG="$HOME/.copilot/mcp-config.json"touch /tmp/gh-aw/agent-step-summary.mdGH_AW_NODE_BIN=$(command -v node 2>/dev/null || true)export GH_AW_NODE_BINexport COPILOT_API_KEY="$COPILOT_DUMMY_BYOK"(umask 177 && touch /tmp/gh-aw/agent-stdio.log)- printf '%s\n' '{"$schema":"https://github.com/github/gh-aw-firewall/releases/download/v0.25.58/awf-config.schema.json","network":{"allowDomains":["api.business.githubcopilot.com","api.enterprise.githubcopilot.com","api.github.com","api.githubcopilot.com","api.individual.githubcopilot.com","api.snapcraft.io","archive.ubuntu.com","azure.archive.ubuntu.com","crl.geotrust.com","crl.globalsign.com","crl.identrust.com","crl.sectigo.com","crl.thawte.com","crl.usertrust.com","crl.verisign.com","crl3.digicert.com","crl4.digicert.com","crls.ssl.com","github.com","host.docker.internal","json-schema.org","json.schemastore.org","keyserver.ubuntu.com","ocsp.digicert.com","ocsp.geotrust.com","ocsp.globalsign.com","ocsp.identrust.com","ocsp.sectigo.com","ocsp.ssl.com","ocsp.thawte.com","ocsp.usertrust.com","ocsp.verisign.com","packagecloud.io","packages.cloud.google.com","packages.microsoft.com","ppa.launchpad.net","raw.githubusercontent.com","registry.npmjs.org","s.symcb.com","s.symcd.com","security.ubuntu.com","telemetry.enterprise.githubcopilot.com","ts-crl.ws.symantec.com","ts-ocsp.ws.symantec.com","www.googleapis.com"]},"apiProxy":{"enabled":true,"enableTokenSteering":true,"maxRuns":500,"maxEffectiveTokens":25000000,"models":{"agent":["sonnet-6x","gpt-5.4","gpt-5.3","gemini-pro","any"],"antigravity":["copilot/antigravity*","google/antigravity*","gemini/antigravity*"],"any":["copilot/*","anthropic/*","openai/*","google/*","gemini/*"],"claude":["agent"],"codex":["agent"],"coding":["copilot/gpt-5*codex*","openai/gpt-5*codex*","gpt-5-codex"],"computer-use":["copilot/*computer-use*","google/*computer-use*","gemini/*computer-use*","openai/*computer-use*"],"copilot":["agent"],"deep-research":["copilot/deep-research*","copilot/o3-deep-research*","copilot/o4-mini-deep-research*","google/deep-research*","gemini/deep-research*","openai/o3-deep-research*","openai/o4-mini-deep-research*"],"gemini":["agent"],"gemini-3-flash":["copilot/gemini-3*flash*","google/gemini-3*flash*","gemini/gemini-3*flash*"],"gemini-3-pro":["copilot/gemini-3*pro*","google/gemini-3*pro*","gemini/gemini-3*pro*"],"gemini-3.1-flash":["copilot/gemini-3.1*flash*","google/gemini-3.1*flash*","gemini/gemini-3.1*flash*"],"gemini-3.1-pro":["copilot/gemini-3.1*pro*","google/gemini-3.1*pro*","gemini/gemini-3.1*pro*"],"gemini-3.5-flash":["copilot/gemini-3.5*flash*","google/gemini-3.5*flash*","gemini/gemini-3.5*flash*"],"gemini-flash":["copilot/gemini-*flash*","google/gemini-*flash*","gemini/gemini-*flash*"],"gemini-flash-lite":["copilot/gemini-*flash*lite*","google/gemini-*flash*lite*","gemini/gemini-*flash*lite*"],"gemini-pro":["copilot/gemini-*pro*","google/gemini-*pro*","gemini/gemini-*pro*"],"gemma":["copilot/gemma*","google/gemma*","gemini/gemma*"],"gpt-5":["copilot/gpt-5*","openai/gpt-5*"],"gpt-5-codex":["copilot/gpt-5*codex*","openai/gpt-5*codex*"],"gpt-5-mini":["copilot/gpt-5*mini*","openai/gpt-5*mini*"],"gpt-5-nano":["copilot/gpt-5*nano*","openai/gpt-5*nano*"],"gpt-5-pro":["copilot/gpt-5*pro*","openai/gpt-5*pro*"],"gpt-5.2":["copilot/gpt-5.2*","openai/gpt-5.2*"],"gpt-5.3":["copilot/gpt-5.3*","openai/gpt-5.3*"],"gpt-5.4":["copilot/gpt-5.4*","openai/gpt-5.4*"],"gpt-5.5":["copilot/gpt-5.5*","openai/gpt-5.5*"],"haiku":["copilot/*haiku*","anthropic/*haiku*"],"large":["sonnet","gpt-5-pro","gpt-5","gemini-pro"],"mini":["haiku","gpt-5-mini","gpt-5-nano","gemini-flash-lite"],"opus":["copilot/*opus*","anthropic/*opus*"],"opusplan":["opus?effort=high"],"reasoning":["copilot/o1*","copilot/o3*","copilot/o4*","openai/o1*","openai/o3*","openai/o4*"],"robotics":["copilot/*robotics*","google/*robotics*","gemini/*robotics*"],"small":["mini"],"sonnet":["copilot/*sonnet*","anthropic/*sonnet*"],"sonnet-6x":["copilot/*sonnet-4.5*","copilot/*sonnet-4.6*","copilot/*sonnet-4-5-*","anthropic/*sonnet-4-5-*","copilot/*sonnet-4-6*","anthropic/*sonnet-4-6*"],"summarization":["haiku","gpt-5-mini","gemini-flash-lite","mini"],"vision":["copilot/gemini-*image*","gemini/gemini-*image*","copilot/gemini-*flash*","gemini/gemini-*flash*"]}},"container":{"imageTag":"0.25.58"}}' > "${RUNNER_TEMP}/gh-aw/awf-config.json"- GH_AW_MODEL_MULTIPLIERS_PATH="/tmp/gh-aw/model_multipliers.json" node "${RUNNER_TEMP}/gh-aw/actions/merge_awf_model_multipliers.cjs"+ GH_AW_MAX_AI_CREDITS="${{ vars.GH_AW_DEFAULT_MAX_AI_CREDITS || '1000' }}"+ printf '%s\n' "{\"\$schema\":\"https://github.com/github/gh-aw-firewall/releases/download/v0.27.2/awf-config.schema.json\",\"network\":{\"allowDomains\":[\"api.business.githubcopilot.com\",\"api.enterprise.githubcopilot.com\",\"api.github.com\",\"api.githubcopilot.com\",\"api.individual.githubcopilot.com\",\"api.snapcraft.io\",\"archive.ubuntu.com\",\"azure.archive.ubuntu.com\",\"crl.geotrust.com\",\"crl.globalsign.com\",\"crl.identrust.com\",\"crl.sectigo.com\",\"crl.thawte.com\",\"crl.usertrust.com\",\"crl.verisign.com\",\"crl3.digicert.com\",\"crl4.digicert.com\",\"crls.ssl.com\",\"github.com\",\"host.docker.internal\",\"json-schema.org\",\"json.schemastore.org\",\"keyserver.ubuntu.com\",\"ocsp.digicert.com\",\"ocsp.geotrust.com\",\"ocsp.globalsign.com\",\"ocsp.identrust.com\",\"ocsp.sectigo.com\",\"ocsp.ssl.com\",\"ocsp.thawte.com\",\"ocsp.usertrust.com\",\"ocsp.verisign.com\",\"packagecloud.io\",\"packages.cloud.google.com\",\"packages.microsoft.com\",\"ppa.launchpad.net\",\"raw.githubusercontent.com\",\"registry.npmjs.org\",\"s.symcb.com\",\"s.symcd.com\",\"security.ubuntu.com\",\"telemetry.enterprise.githubcopilot.com\",\"ts-crl.ws.symantec.com\",\"ts-ocsp.ws.symantec.com\",\"www.googleapis.com\"]},\"apiProxy\":{\"enabled\":true,\"enableTokenSteering\":true,\"maxRuns\":500,\"maxAiCredits\":${GH_AW_MAX_AI_CREDITS},\"models\":{\"agent\":[\"sonnet-6x\",\"gpt-5.4\",\"gpt-5.3\",\"gemini-pro\",\"any\"],\"antigravity\":[\"copilot/antigravity*\",\"google/antigravity*\",\"gemini/antigravity*\"],\"any\":[\"copilot/*\",\"anthropic/*\",\"openai/*\",\"google/*\",\"gemini/*\"],\"claude\":[\"agent\"],\"codex\":[\"agent\"],\"coding\":[\"copilot/gpt-5*codex*\",\"openai/gpt-5*codex*\",\"gpt-5-codex\"],\"computer-use\":[\"copilot/*computer-use*\",\"google/*computer-use*\",\"gemini/*computer-use*\",\"openai/*computer-use*\"],\"copilot\":[\"agent\"],\"deep-research\":[\"copilot/deep-research*\",\"copilot/o3-deep-research*\",\"copilot/o4-mini-deep-research*\",\"google/deep-research*\",\"gemini/deep-research*\",\"openai/o3-deep-research*\",\"openai/o4-mini-deep-research*\"],\"gemini\":[\"agent\"],\"gemini-3-flash\":[\"copilot/gemini-3*flash*\",\"google/gemini-3*flash*\",\"gemini/gemini-3*flash*\"],\"gemini-3-pro\":[\"copilot/gemini-3*pro*\",\"google/gemini-3*pro*\",\"google/nano-banana*\",\"gemini/gemini-3*pro*\"],\"gemini-3.1-flash\":[\"copilot/gemini-3.1*flash*\",\"google/gemini-3.1*flash*\",\"gemini/gemini-3.1*flash*\"],\"gemini-3.1-pro\":[\"copilot/gemini-3.1*pro*\",\"google/gemini-3.1*pro*\",\"gemini/gemini-3.1*pro*\"],\"gemini-3.5-flash\":[\"copilot/gemini-3.5*flash*\",\"google/gemini-3.5*flash*\",\"gemini/gemini-3.5*flash*\"],\"gemini-flash\":[\"copilot/gemini-*flash*\",\"google/gemini-*flash*\",\"gemini/gemini-*flash*\"],\"gemini-flash-lite\":[\"copilot/gemini-*flash*lite*\",\"google/gemini-*flash*lite*\",\"gemini/gemini-*flash*lite*\"],\"gemini-pro\":[\"copilot/gemini-*pro*\",\"google/gemini-*pro*\",\"gemini/gemini-*pro*\"],\"gemma\":[\"copilot/gemma*\",\"google/gemma*\",\"gemini/gemma*\"],\"gpt-5\":[\"copilot/gpt-5*\",\"openai/gpt-5*\"],\"gpt-5-codex\":[\"copilot/gpt-5*codex*\",\"openai/gpt-5*codex*\"],\"gpt-5-mini\":[\"copilot/gpt-5*mini*\",\"openai/gpt-5*mini*\"],\"gpt-5-nano\":[\"copilot/gpt-5*nano*\",\"openai/gpt-5*nano*\"],\"gpt-5-pro\":[\"copilot/gpt-5*pro*\",\"openai/gpt-5*pro*\"],\"gpt-5.2\":[\"copilot/gpt-5.2*\",\"openai/gpt-5.2*\"],\"gpt-5.3\":[\"copilot/gpt-5.3*\",\"openai/gpt-5.3*\"],\"gpt-5.4\":[\"copilot/gpt-5.4*\",\"openai/gpt-5.4*\"],\"gpt-5.5\":[\"copilot/gpt-5.5*\",\"openai/gpt-5.5*\"],\"haiku\":[\"copilot/*haiku*\",\"anthropic/*haiku*\"],\"large\":[\"sonnet\",\"gpt-5-pro\",\"gpt-5\",\"gemini-pro\"],\"mai-code\":[\"copilot/MAI-Code*\",\"copilot/mai-code*\",\"openai/MAI-Code*\"],\"mini\":[\"haiku\",\"gpt-5-mini\",\"gpt-5-nano\",\"gemini-flash-lite\"],\"nano-banana\":[\"copilot/nano-banana*\",\"google/nano-banana*\",\"gemini/nano-banana*\"],\"opus\":[\"copilot/*opus*\",\"anthropic/*opus*\"],\"opusplan\":[\"opus?effort=high\"],\"reasoning\":[\"copilot/o1*\",\"copilot/o3*\",\"copilot/o4*\",\"openai/o1*\",\"openai/o3*\",\"openai/o4*\"],\"robotics\":[\"copilot/*robotics*\",\"google/*robotics*\",\"gemini/*robotics*\"],\"small\":[\"mini\"],\"small-agent\":[\"haiku\",\"gpt-5-mini\",\"gemini-flash\"],\"sonnet\":[\"copilot/*sonnet*\",\"anthropic/*sonnet*\"],\"sonnet-6x\":[\"copilot/*sonnet-4.5*\",\"copilot/*sonnet-4.6*\",\"copilot/*sonnet-4-5-*\",\"anthropic/*sonnet-4-5-*\",\"copilot/*sonnet-4-6*\",\"anthropic/*sonnet-4-6*\"],\"summarization\":[\"haiku\",\"gpt-5-mini\",\"gemini-flash-lite\",\"mini\"],\"vision\":[\"copilot/gemini-*image*\",\"gemini/gemini-*image*\",\"copilot/gemini-*flash*\",\"gemini/gemini-*flash*\"]}},\"container\":{\"imageTag\":\"0.27.2,squid=sha256:2e3a717e5f19a654cd9a2263beb52012b56bcb68562ec5ae2e42f9d156b49591,agent=sha256:f88e5b17b6b7a600117bc121114d6ce2155c88c983c0c939c5df884f730fa1d6,api-proxy=sha256:ee39841d980878ebbb87592903b06d31a1af500c71525c9616f7e8e2a27041a4,cli-proxy=sha256:02f3ec08f32dc26c5427920c6a2e2f3036238fce44802f2f11ef49ed8621b5d0\"}}" > "${RUNNER_TEMP}/gh-aw/awf-config.json"cp "${RUNNER_TEMP}/gh-aw/awf-config.json" /tmp/gh-aw/awf-config.json+ export GH_AW_MODELS_JSON_PATH="/tmp/gh-aw/models.json"GH_AW_DOCKER_HOST_PATH_PREFIX_ARGS=""if [[ "${DOCKER_HOST:-}" =~ ^tcp:// ]]; thenGH_AW_DOCKER_HOST_PATH_PREFIX_ARGS="--docker-host-path-prefix /tmp/gh-aw"@@ -843,11 +852,11 @@ jobs:COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }}COPILOT_MODEL: ${{ vars.GH_AW_MODEL_AGENT_COPILOT || vars.GH_AW_DEFAULT_MODEL_COPILOT || 'claude-sonnet-4.6' }}GH_AW_MAX_TURNS: ${{ vars.GH_AW_DEFAULT_MAX_TURNS || '' }}- GH_AW_MCP_CONFIG: /home/runner/.copilot/mcp-config.jsonGH_AW_PHASE: agentGH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txtGH_AW_SAFE_OUTPUTS: ${{ steps.set-runtime-paths.outputs.GH_AW_SAFE_OUTPUTS }}- GH_AW_VERSION: v0.78.1+ GH_AW_TIMEOUT_MINUTES: 20+ GH_AW_VERSION: v0.79.8GITHUB_API_URL: ${{ github.api_url }}GITHUB_AW: trueGITHUB_COPILOT_INTEGRATION_ID: agentic-workflows@@ -862,7 +871,6 @@ jobs:GIT_COMMITTER_EMAIL: github-actions[bot]@users.noreply.github.comGIT_COMMITTER_NAME: github-actions[bot]RUNNER_TEMP: ${{ runner.temp }}- XDG_CONFIG_HOME: /home/runner- name: Detect agent errorsif: always()id: detect-agent-errors@@ -1007,6 +1015,8 @@ jobs:/tmp/gh-aw/sandbox/agent/logs//tmp/gh-aw/redacted-urls.log/tmp/gh-aw/mcp-logs/+ /tmp/gh-aw/proxy-logs/+ !/tmp/gh-aw/proxy-logs/proxy-tls//tmp/gh-aw/agent_usage.json/tmp/gh-aw/agent-stdio.log/tmp/gh-aw/pre-agent-audit.txt@@ -1030,7 +1040,7 @@ jobs:- safe_outputsif: >always() && (needs.agent.result != 'skipped' || needs.activation.outputs.lockdown_check_failed == 'true' ||- needs.activation.outputs.stale_lock_file_failed == 'true' || needs.activation.outputs.daily_effective_workflow_exceeded == 'true')+ needs.activation.outputs.stale_lock_file_failed == 'true' || needs.activation.outputs.daily_ai_credits_exceeded == 'true')runs-on: ubuntu-slimpermissions:contents: read@@ -1049,7 +1059,7 @@ jobs:steps:- name: Setup Scriptsid: setup- uses: github/gh-aw-actions/setup@73ed520ae4ecd087a485e1991605595978b32ac1 # v0.78.1+ uses: github/gh-aw-actions/setup@c0338fef4749d08c21f8f975fb0e37efa17dda47 # v0.79.8with:destination: ${{ runner.temp }}/gh-aw/actionsjob-name: ${{ github.job }}@@ -1058,8 +1068,8 @@ jobs:env:GH_AW_SETUP_WORKFLOW_NAME: "Assess Bug from Labeled Issue"GH_AW_CURRENT_WORKFLOW_REF: ${{ github.repository }}/.github/workflows/bug-assess.lock.yml@${{ github.ref }}- GH_AW_INFO_VERSION: "1.0.55"- GH_AW_INFO_AWF_VERSION: "v0.25.58"+ GH_AW_INFO_VERSION: "1.0.60"+ GH_AW_INFO_AWF_VERSION: "v0.27.2"GH_AW_INFO_ENGINE_ID: "copilot"- name: Download agent output artifactid: download-agent-output@@ -1075,6 +1085,40 @@ jobs:mkdir -p /tmp/gh-aw/find "/tmp/gh-aw/" -type f -printecho "GH_AW_AGENT_OUTPUT=/tmp/gh-aw/agent_output.json" >> "$GITHUB_OUTPUT"+ - name: Collect usage artifact files+ if: always()+ continue-on-error: true+ run: |+ mkdir -p /tmp/gh-aw/usage/agent /tmp/gh-aw/usage/detection+ echo "Usage artifact source file status:"+ for file in /tmp/gh-aw/aw-info.jsonl /tmp/gh-aw/agent_usage.jsonl /tmp/gh-aw/detection_usage.jsonl /tmp/gh-aw/sandbox/firewall-audit-logs/api-proxy-logs/token-usage.jsonl /tmp/gh-aw/sandbox/firewall/logs/api-proxy-logs/token-usage.jsonl /tmp/gh-aw/sandbox/firewall/audit/api-proxy-logs/token-usage.jsonl /tmp/gh-aw/threat-detection/sandbox/firewall-audit-logs/api-proxy-logs/token-usage.jsonl /tmp/gh-aw/threat-detection/sandbox/firewall/logs/api-proxy-logs/token-usage.jsonl /tmp/gh-aw/threat-detection/sandbox/firewall/audit/api-proxy-logs/token-usage.jsonl; do+ [ -f "$file" ] && echo "FOUND: $file" || echo "MISSING: $file"+ done+ [ -f /tmp/gh-aw/aw-info.jsonl ] && cp /tmp/gh-aw/aw-info.jsonl /tmp/gh-aw/usage/aw-info.jsonl || true+ [ -f /tmp/gh-aw/agent_usage.jsonl ] && cp /tmp/gh-aw/agent_usage.jsonl /tmp/gh-aw/usage/agent_usage.jsonl || true+ [ -f /tmp/gh-aw/detection_usage.jsonl ] && cp /tmp/gh-aw/detection_usage.jsonl /tmp/gh-aw/usage/detection_usage.jsonl || true+ [ -f /tmp/gh-aw/sandbox/firewall-audit-logs/api-proxy-logs/token-usage.jsonl ] && cp /tmp/gh-aw/sandbox/firewall-audit-logs/api-proxy-logs/token-usage.jsonl /tmp/gh-aw/usage/agent/token_usage.jsonl || true+ [ -f /tmp/gh-aw/sandbox/firewall/logs/api-proxy-logs/token-usage.jsonl ] && cp /tmp/gh-aw/sandbox/firewall/logs/api-proxy-logs/token-usage.jsonl /tmp/gh-aw/usage/agent/token_usage.jsonl || true+ [ -f /tmp/gh-aw/sandbox/firewall/audit/api-proxy-logs/token-usage.jsonl ] && cp /tmp/gh-aw/sandbox/firewall/audit/api-proxy-logs/token-usage.jsonl /tmp/gh-aw/usage/agent/token_usage.jsonl || true+ [ -f /tmp/gh-aw/threat-detection/sandbox/firewall-audit-logs/api-proxy-logs/token-usage.jsonl ] && cp /tmp/gh-aw/threat-detection/sandbox/firewall-audit-logs/api-proxy-logs/token-usage.jsonl /tmp/gh-aw/usage/detection/token_usage.jsonl || true+ [ -f /tmp/gh-aw/threat-detection/sandbox/firewall/logs/api-proxy-logs/token-usage.jsonl ] && cp /tmp/gh-aw/threat-detection/sandbox/firewall/logs/api-proxy-logs/token-usage.jsonl /tmp/gh-aw/usage/detection/token_usage.jsonl || true+ [ -f /tmp/gh-aw/threat-detection/sandbox/firewall/audit/api-proxy-logs/token-usage.jsonl ] && cp /tmp/gh-aw/threat-detection/sandbox/firewall/audit/api-proxy-logs/token-usage.jsonl /tmp/gh-aw/usage/detection/token_usage.jsonl || true+ [ -f /tmp/gh-aw/usage/agent/token_usage.jsonl ] || : > /tmp/gh-aw/usage/agent/token_usage.jsonl+ [ -f /tmp/gh-aw/usage/detection/token_usage.jsonl ] || : > /tmp/gh-aw/usage/detection/token_usage.jsonl+ find /tmp/gh-aw/usage -type f -print | sort+ - name: Upload usage artifact+ if: always()+ continue-on-error: true+ uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1+ with:+ name: usage+ path: |+ /tmp/gh-aw/usage/aw-info.jsonl+ /tmp/gh-aw/usage/agent_usage.jsonl+ /tmp/gh-aw/usage/detection_usage.jsonl+ /tmp/gh-aw/usage/agent/token_usage.jsonl+ /tmp/gh-aw/usage/detection/token_usage.jsonl+ if-no-files-found: ignore- name: Process no-op messagesid: noopuses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0@@ -1086,6 +1130,10 @@ jobs:GH_AW_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}GH_AW_AGENT_CONCLUSION: ${{ needs.agent.result }}GH_AW_NOOP_REPORT_AS_ISSUE: "false"+ GH_AW_AIC: ${{ needs.agent.outputs.aic }}+ GH_AW_THREAT_DETECTION_AIC: ${{ needs.detection.outputs.aic }}+ GH_AW_AMBIENT_CONTEXT: ${{ needs.agent.outputs.ambient_context }}+ GH_AW_WORKFLOW_ID: "bug-assess"with:github-token: ${{ secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}script: |@@ -1156,7 +1204,11 @@ jobs:GH_AW_SECRET_VERIFICATION_RESULT: ${{ needs.activation.outputs.secret_verification_result }}GH_AW_CHECKOUT_PR_SUCCESS: ${{ needs.agent.outputs.checkout_pr_success }}GH_AW_EFFECTIVE_TOKENS: ${{ needs.agent.outputs.effective_tokens || '' }}- GH_AW_EFFECTIVE_TOKENS_RATE_LIMIT_ERROR: ${{ needs.agent.outputs.effective_tokens_rate_limit_error || 'false' }}+ GH_AW_AI_CREDITS_RATE_LIMIT_ERROR: ${{ needs.agent.outputs.ai_credits_rate_limit_error || 'false' }}+ GH_AW_UNKNOWN_MODEL_AI_CREDITS: ${{ needs.agent.outputs.unknown_model_ai_credits || 'false' }}+ GH_AW_AIC: ${{ needs.agent.outputs.aic }}+ GH_AW_THREAT_DETECTION_AIC: ${{ needs.detection.outputs.aic }}+ GH_AW_MAX_AI_CREDITS: ${{ vars.GH_AW_DEFAULT_MAX_AI_CREDITS || '1000' }}GH_AW_INFERENCE_ACCESS_ERROR: ${{ needs.agent.outputs.inference_access_error }}GH_AW_MCP_POLICY_ERROR: ${{ needs.agent.outputs.mcp_policy_error }}GH_AW_AGENTIC_ENGINE_TIMEOUT: ${{ needs.agent.outputs.agentic_engine_timeout }}@@ -1164,15 +1216,14 @@ jobs:GH_AW_ENGINE_API_HOSTS: "api.enterprise.githubcopilot.com,api.githubcopilot.com,api.business.githubcopilot.com,api.individual.githubcopilot.com"GH_AW_LOCKDOWN_CHECK_FAILED: ${{ needs.activation.outputs.lockdown_check_failed }}GH_AW_STALE_LOCK_FILE_FAILED: ${{ needs.activation.outputs.stale_lock_file_failed }}- GH_AW_DAILY_EFFECTIVE_WORKFLOW_EXCEEDED: ${{ needs.activation.outputs.daily_effective_workflow_exceeded }}- GH_AW_DAILY_EFFECTIVE_WORKFLOW_TOTAL_EFFECTIVE_TOKENS: ${{ needs.activation.outputs.daily_effective_workflow_total_effective_tokens }}- GH_AW_DAILY_EFFECTIVE_WORKFLOW_THRESHOLD: ${{ needs.activation.outputs.daily_effective_workflow_threshold }}+ GH_AW_DAILY_AI_CREDITS_EXCEEDED: ${{ needs.activation.outputs.daily_ai_credits_exceeded }}+ GH_AW_DAILY_AI_CREDITS_TOTAL_EFFECTIVE_TOKENS: ${{ needs.activation.outputs.daily_ai_credits_total_effective_tokens }}+ GH_AW_DAILY_AI_CREDITS_THRESHOLD: ${{ needs.activation.outputs.daily_ai_credits_threshold }}GH_AW_GROUP_REPORTS: "false"GH_AW_FAILURE_REPORT_AS_ISSUE: "true"GH_AW_MISSING_TOOL_REPORT_AS_FAILURE: "true"GH_AW_MISSING_DATA_REPORT_AS_FAILURE: "true"GH_AW_TIMEOUT_MINUTES: "20"- GH_AW_MAX_EFFECTIVE_TOKENS: "25000000"with:github-token: ${{ secrets.GH_AW_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}script: |@@ -1191,13 +1242,14 @@ jobs:permissions:contents: readoutputs:+ aic: ${{ steps.parse_detection_token_usage.outputs.aic }}detection_conclusion: ${{ steps.detection_conclusion.outputs.conclusion }}detection_reason: ${{ steps.detection_conclusion.outputs.reason }}detection_success: ${{ steps.detection_conclusion.outputs.success }}steps:- name: Setup Scriptsid: setup- uses: github/gh-aw-actions/setup@73ed520ae4ecd087a485e1991605595978b32ac1 # v0.78.1+ uses: github/gh-aw-actions/setup@c0338fef4749d08c21f8f975fb0e37efa17dda47 # v0.79.8with:destination: ${{ runner.temp }}/gh-aw/actionsjob-name: ${{ github.job }}@@ -1206,8 +1258,8 @@ jobs:env:GH_AW_SETUP_WORKFLOW_NAME: "Assess Bug from Labeled Issue"GH_AW_CURRENT_WORKFLOW_REF: ${{ github.repository }}/.github/workflows/bug-assess.lock.yml@${{ github.ref }}- GH_AW_INFO_VERSION: "1.0.55"- GH_AW_INFO_AWF_VERSION: "v0.25.58"+ GH_AW_INFO_VERSION: "1.0.60"+ GH_AW_INFO_AWF_VERSION: "v0.27.2"GH_AW_INFO_ENGINE_ID: "copilot"- name: Download agent output artifactid: download-agent-output@@ -1225,7 +1277,7 @@ jobs:echo "GH_AW_AGENT_OUTPUT=/tmp/gh-aw/agent_output.json" >> "$GITHUB_OUTPUT"- name: Checkout repository for patch contextif: needs.agent.outputs.has_patch == 'true'- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3with:persist-credentials: false# --- Threat Detection ---@@ -1234,7 +1286,7 @@ jobs:rm -rf /tmp/gh-aw/sandbox/firewall/logsrm -rf /tmp/gh-aw/sandbox/firewall/audit- name: Download container images- run: bash "${RUNNER_TEMP}/gh-aw/actions/download_docker_images.sh" ghcr.io/github/gh-aw-firewall/agent:0.25.58 ghcr.io/github/gh-aw-firewall/api-proxy:0.25.58 ghcr.io/github/gh-aw-firewall/squid:0.25.58+ run: bash "${RUNNER_TEMP}/gh-aw/actions/download_docker_images.sh" ghcr.io/github/gh-aw-firewall/agent:0.27.2@sha256:f88e5b17b6b7a600117bc121114d6ce2155c88c983c0c939c5df884f730fa1d6 ghcr.io/github/gh-aw-firewall/api-proxy:0.27.2@sha256:ee39841d980878ebbb87592903b06d31a1af500c71525c9616f7e8e2a27041a4 ghcr.io/github/gh-aw-firewall/squid:0.27.2@sha256:2e3a717e5f19a654cd9a2263beb52012b56bcb68562ec5ae2e42f9d156b49591- name: Check if detection neededid: detection_guardif: always()@@ -1253,12 +1305,13 @@ jobs:if: always() && steps.detection_guard.outputs.run_detection == 'true'run: |rm -f "${RUNNER_TEMP}/gh-aw/mcp-config/mcp-servers.json"- rm -f /home/runner/.copilot/mcp-config.json+ rm -f "$HOME/.copilot/mcp-config.json"rm -f "$GITHUB_WORKSPACE/.gemini/settings.json"- name: Prepare threat detection filesif: always() && steps.detection_guard.outputs.run_detection == 'true'run: |mkdir -p /tmp/gh-aw/threat-detection/aw-prompts+ rm -f /tmp/gh-aw/agent_usage.jsoncp /tmp/gh-aw/aw-prompts/prompt.txt /tmp/gh-aw/threat-detection/aw-prompts/prompt.txt 2>/dev/null || trueif [ ! -s /tmp/gh-aw/threat-detection/aw-prompts/prompt.txt ]; thenecho "::warning::ERR_VALIDATION: Missing or empty detection context prompt at /tmp/gh-aw/threat-detection/aw-prompts/prompt.txt. Ensure the agent artifact includes /tmp/gh-aw/aw-prompts/prompt.txt. Detection will continue with fallback workflow context."@@ -1296,11 +1349,11 @@ jobs:node-version: '24'package-manager-cache: false- name: Install GitHub Copilot CLI- run: bash "${RUNNER_TEMP}/gh-aw/actions/install_copilot_cli.sh" 1.0.55+ run: bash "${RUNNER_TEMP}/gh-aw/actions/install_copilot_cli.sh" 1.0.60env:GH_HOST: github.com- name: Install AWF binary- run: bash "${RUNNER_TEMP}/gh-aw/actions/install_awf_binary.sh" v0.25.58+ run: bash "${RUNNER_TEMP}/gh-aw/actions/install_awf_binary.sh" v0.27.2- name: Execute GitHub Copilot CLIif: always() && steps.detection_guard.outputs.run_detection == 'true'continue-on-error: true@@ -1310,14 +1363,19 @@ jobs:run: |set -o pipefailprintf '%s' "$(date +%s%3N)" > /tmp/gh-aw/agent_cli_start_ms.txt+ trap 'rm -f "$HOME/.copilot/settings.json"' EXIT+ mkdir -p "$HOME/.copilot"+ printf '%s' '{"builtInAgents":{"rubberDuck":false}}' > "$HOME/.copilot/settings.json"+ export XDG_CONFIG_HOME="$HOME"touch /tmp/gh-aw/agent-step-summary.mdGH_AW_NODE_BIN=$(command -v node 2>/dev/null || true)export GH_AW_NODE_BINexport COPILOT_API_KEY="$COPILOT_DUMMY_BYOK"(umask 177 && touch /tmp/gh-aw/threat-detection/detection.log)- printf '%s\n' '{"$schema":"https://github.com/github/gh-aw-firewall/releases/download/v0.25.58/awf-config.schema.json","network":{"allowDomains":["api.business.githubcopilot.com","api.enterprise.githubcopilot.com","api.github.com","api.githubcopilot.com","api.individual.githubcopilot.com","github.com","host.docker.internal","registry.npmjs.org","telemetry.enterprise.githubcopilot.com"]},"apiProxy":{"enabled":true,"enableTokenSteering":true,"maxRuns":500,"maxEffectiveTokens":25000000},"container":{"imageTag":"0.25.58"}}' > "${RUNNER_TEMP}/gh-aw/awf-config.json"- GH_AW_MODEL_MULTIPLIERS_PATH="/tmp/gh-aw/model_multipliers.json" node "${RUNNER_TEMP}/gh-aw/actions/merge_awf_model_multipliers.cjs"+ GH_AW_MAX_AI_CREDITS="${{ vars.GH_AW_DEFAULT_DETECTION_MAX_AI_CREDITS || '400' }}"+ printf '%s\n' "{\"\$schema\":\"https://github.com/github/gh-aw-firewall/releases/download/v0.27.2/awf-config.schema.json\",\"network\":{\"allowDomains\":[\"api.business.githubcopilot.com\",\"api.enterprise.githubcopilot.com\",\"api.github.com\",\"api.githubcopilot.com\",\"api.individual.githubcopilot.com\",\"github.com\",\"host.docker.internal\",\"registry.npmjs.org\",\"telemetry.enterprise.githubcopilot.com\"]},\"apiProxy\":{\"enabled\":true,\"enableTokenSteering\":true,\"maxRuns\":500,\"maxAiCredits\":${GH_AW_MAX_AI_CREDITS}},\"container\":{\"imageTag\":\"0.27.2,squid=sha256:2e3a717e5f19a654cd9a2263beb52012b56bcb68562ec5ae2e42f9d156b49591,agent=sha256:f88e5b17b6b7a600117bc121114d6ce2155c88c983c0c939c5df884f730fa1d6,api-proxy=sha256:ee39841d980878ebbb87592903b06d31a1af500c71525c9616f7e8e2a27041a4,cli-proxy=sha256:02f3ec08f32dc26c5427920c6a2e2f3036238fce44802f2f11ef49ed8621b5d0\"}}" > "${RUNNER_TEMP}/gh-aw/awf-config.json"cp "${RUNNER_TEMP}/gh-aw/awf-config.json" /tmp/gh-aw/awf-config.json+ export GH_AW_MODELS_JSON_PATH="/tmp/gh-aw/models.json"GH_AW_DOCKER_HOST_PATH_PREFIX_ARGS=""if [[ "${DOCKER_HOST:-}" =~ ^tcp:// ]]; thenGH_AW_DOCKER_HOST_PATH_PREFIX_ARGS="--docker-host-path-prefix /tmp/gh-aw"@@ -1343,7 +1401,8 @@ jobs:GH_AW_MAX_TURNS: ${{ vars.GH_AW_DEFAULT_MAX_TURNS || '' }}GH_AW_PHASE: detectionGH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt- GH_AW_VERSION: v0.78.1+ GH_AW_TIMEOUT_MINUTES: 20+ GH_AW_VERSION: v0.79.8GITHUB_API_URL: ${{ github.api_url }}GITHUB_AW: trueGITHUB_COPILOT_INTEGRATION_ID: agentic-workflows@@ -1357,7 +1416,19 @@ jobs:GIT_COMMITTER_EMAIL: github-actions[bot]@users.noreply.github.comGIT_COMMITTER_NAME: github-actions[bot]RUNNER_TEMP: ${{ runner.temp }}- XDG_CONFIG_HOME: /home/runner+ - name: Parse threat detection token usage for step summary+ id: parse_detection_token_usage+ if: always()+ continue-on-error: true+ uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0+ env:+ GH_AW_TOKEN_USAGE_SUMMARY_TITLE: Threat Detection Token Usage+ with:+ script: |+ const { setupGlobals } = require('${{ runner.temp }}/gh-aw/actions/setup_globals.cjs');+ setupGlobals(core, github, context, exec, io, getOctokit);+ const { main } = require('${{ runner.temp }}/gh-aw/actions/parse_token_usage.cjs');+ await main();- name: Upload threat detection logif: always() && steps.detection_guard.outputs.run_detection == 'true'uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1@@ -1410,15 +1481,15 @@ jobs:steps:- name: Setup Scriptsid: setup- uses: github/gh-aw-actions/setup@73ed520ae4ecd087a485e1991605595978b32ac1 # v0.78.1+ uses: github/gh-aw-actions/setup@c0338fef4749d08c21f8f975fb0e37efa17dda47 # v0.79.8with:destination: ${{ runner.temp }}/gh-aw/actionsjob-name: ${{ github.job }}env:GH_AW_SETUP_WORKFLOW_NAME: "Assess Bug from Labeled Issue"GH_AW_CURRENT_WORKFLOW_REF: ${{ github.repository }}/.github/workflows/bug-assess.lock.yml@${{ github.ref }}- GH_AW_INFO_VERSION: "1.0.55"- GH_AW_INFO_AWF_VERSION: "v0.25.58"+ GH_AW_INFO_VERSION: "1.0.60"+ GH_AW_INFO_AWF_VERSION: "v0.27.2"GH_AW_INFO_ENGINE_ID: "copilot"- name: Check team membership for workflowid: check_membership@@ -1457,15 +1528,19 @@ jobs:discussions: writeissues: writepull-requests: write- timeout-minutes: 15+ timeout-minutes: 45env:+ GH_AW_AGENT_AIC: ${{ needs.agent.outputs.aic }}+ GH_AW_AIC: ${{ needs.agent.outputs.aic }}+ GH_AW_AMBIENT_CONTEXT: ${{ needs.agent.outputs.ambient_context }}GH_AW_CALLER_WORKFLOW_ID: "${{ github.repository }}/bug-assess"GH_AW_DETECTION_CONCLUSION: ${{ needs.detection.outputs.detection_conclusion }}GH_AW_DETECTION_REASON: ${{ needs.detection.outputs.detection_reason }}GH_AW_EFFECTIVE_TOKENS: ${{ needs.agent.outputs.effective_tokens }}GH_AW_ENGINE_ID: "copilot"GH_AW_ENGINE_MODEL: ${{ needs.agent.outputs.model }}- GH_AW_ENGINE_VERSION: "1.0.55"+ GH_AW_ENGINE_VERSION: "1.0.60"+ GH_AW_THREAT_DETECTION_AIC: ${{ needs.detection.outputs.aic }}GH_AW_WORKFLOW_EMOJI: "π"GH_AW_WORKFLOW_ID: "bug-assess"GH_AW_WORKFLOW_NAME: "Assess Bug from Labeled Issue"@@ -1482,7 +1557,7 @@ jobs:steps:- name: Setup Scriptsid: setup- uses: github/gh-aw-actions/setup@73ed520ae4ecd087a485e1991605595978b32ac1 # v0.78.1+ uses: github/gh-aw-actions/setup@c0338fef4749d08c21f8f975fb0e37efa17dda47 # v0.79.8with:destination: ${{ runner.temp }}/gh-aw/actionsjob-name: ${{ github.job }}@@ -1491,8 +1566,8 @@ jobs:env:GH_AW_SETUP_WORKFLOW_NAME: "Assess Bug from Labeled Issue"GH_AW_CURRENT_WORKFLOW_REF: ${{ github.repository }}/.github/workflows/bug-assess.lock.yml@${{ github.ref }}- GH_AW_INFO_VERSION: "1.0.55"- GH_AW_INFO_AWF_VERSION: "v0.25.58"+ GH_AW_INFO_VERSION: "1.0.60"+ GH_AW_INFO_AWF_VERSION: "v0.27.2"GH_AW_INFO_ENGINE_ID: "copilot"- name: Download agent output artifactid: download-agent-output@@ -1511,6 +1586,7 @@ jobs:- name: Configure GH_HOST for enterprise compatibilityid: ghes-host-configshell: bash+ # zizmor: ignore[github-env] - GITHUB_SERVER_URL is set by GitHub Actions, not user input.run: |# Derive GH_HOST from GITHUB_SERVER_URL so the gh CLI targets the correct# GitHub instance (GHES/GHEC). On github.com this is a harmless no-op.diff --git a/.github/workflows/bug-assess.md b/.github/workflows/bug-assess.mdindex c972823eb..eea86560d 100644--- a/.github/workflows/bug-assess.md+++ b/.github/workflows/bug-assess.md@@ -12,6 +12,7 @@ tools:bash: ["echo", "cat", "head", "tail", "grep", "wc", "sort", "uniq", "python3", "jq", "date", "ls", "find"]github:toolsets: [issues, repos]+ min-integrity: noneweb-fetch:permissions: