Skip to content

Commit 56594bd

Browse files
committed
feat: add agentic workflows for issue triage and auto fix
1 parent 0cfcf48 commit 56594bd

2 files changed

Lines changed: 3 additions & 11 deletions

File tree

‎.github/workflows/issue-triage.lock.yml‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"4eba86fa909777f0a6038b0e48c6c9be43657266fd1eef63de8afb40e77b0023","body_hash":"bf4f8784cdac578e246f253a70aa7f7acce80a6fcf1c9116a0f5867b9ece3260","compiler_version":"v0.79.6","agent_id":"codex","agent_model":"doubao-seed-2-0-code-preview-260215","engine_versions":{"codex":"0.137.0"}}
1+
# gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"9823cd4e17938360ba666b3b4a31631c421f6c95e04140e19485e3fba2720f81","body_hash":"bf4f8784cdac578e246f253a70aa7f7acce80a6fcf1c9116a0f5867b9ece3260","compiler_version":"v0.79.6","agent_id":"codex","agent_model":"doubao-seed-2-0-code-preview-260215","engine_versions":{"codex":"0.137.0"}}
22
# gh-aw-manifest: {"version":1,"secrets":["CODEX_API_KEY","GH_AW_GITHUB_MCP_SERVER_TOKEN","GH_AW_GITHUB_TOKEN","GITHUB_TOKEN","OPENAI_API_KEY"],"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":"5c2fe865bb4dc46e1450f6ee0d0541d759aea73a","version":"v0.79.6"}],"containers":[{"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"}]}
33
# ___ _ _
44
# / _ \ | | (_)
@@ -116,7 +116,6 @@ jobs:
116116
GH_AW_INFO_AWMG_VERSION: ""
117117
GH_AW_INFO_FIREWALL_TYPE: ""
118118
GH_AW_COMPILED_STRICT: "false"
119-
GH_AW_INFO_TOKEN_WEIGHTS: '{"multipliers":{"doubao":1}}'
120119
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
121120
with:
122121
script: |
@@ -815,7 +814,6 @@ jobs:
815814
env:
816815
CODEX_API_KEY: ${{ secrets.CODEX_API_KEY || secrets.OPENAI_API_KEY }}
817816
CODEX_HOME: /tmp/gh-aw/mcp-config
818-
CODEX_MODEL: doubao-seed-2-0-code-preview-260215
819817
GH_AW_MAX_TURNS: ${{ vars.GH_AW_DEFAULT_MAX_TURNS || '' }}
820818
GH_AW_MCP_CONFIG: ${{ runner.temp }}/gh-aw/mcp-config/config.toml
821819
GH_AW_MODEL_AGENT_CODEX: doubao-seed-2-0-code-preview-260215
@@ -1100,7 +1098,7 @@ jobs:
11001098
GH_AW_AI_CREDITS_RATE_LIMIT_ERROR: ${{ needs.agent.outputs.ai_credits_rate_limit_error || 'false' }}
11011099
GH_AW_UNKNOWN_MODEL_AI_CREDITS: ${{ needs.agent.outputs.unknown_model_ai_credits || 'false' }}
11021100
GH_AW_AIC: ${{ needs.agent.outputs.aic }}
1103-
GH_AW_MAX_AI_CREDITS: "-1"
1101+
GH_AW_MAX_AI_CREDITS: ${{ vars.GH_AW_DEFAULT_MAX_AI_CREDITS || '1000' }}
11041102
GH_AW_INFERENCE_ACCESS_ERROR: ${{ needs.agent.outputs.inference_access_error }}
11051103
GH_AW_MCP_POLICY_ERROR: ${{ needs.agent.outputs.mcp_policy_error }}
11061104
GH_AW_AGENTIC_ENGINE_TIMEOUT: ${{ needs.agent.outputs.agentic_engine_timeout }}

‎.github/workflows/issue-triage.md‎

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,10 @@ on:
55

66
engine:
77
id: codex
8+
model: doubao-seed-2-0-code-preview-260215
89
env:
910
OPENAI_BASE_URL: "https://ark.cn-beijing.volces.com/api/v3/responses"
1011
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
11-
CODEX_MODEL: doubao-seed-2-0-code-preview-260215
12-
model: doubao-seed-2-0-code-preview-260215
13-
token-weights:
14-
multipliers:
15-
doubao: 1.0
16-
17-
max-ai-credits: -1
1812

1913
features:
2014
dangerously-disable-sandbox-agent: "controlled environment for issue triage automation"

0 commit comments

Comments
 (0)