OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
[CI] [GHA] Add check for agentic workflows being compiled against their latest .md version (#36352)
Andrei Kashchikhin2b6cdd82b181
diff --git a/.github/aw/actions-lock.json b/.github/aw/actions-lock.jsonindex a89de0b36dc..17ad96b4622 100644--- a/.github/aw/actions-lock.json+++ b/.github/aw/actions-lock.json@@ -1,10 +1,5 @@{"entries": {- "actions/github-script@v8": {- "repo": "actions/github-script",- "version": "v8",- "sha": "ed597411d8f924073f98dfc5c65a23a2325f34cd"- },"actions/[email protected]": {"repo": "actions/github-script","version": "v9.0.0",@@ -20,10 +15,27 @@"version": "v0.79.8","sha": "c0338fef4749d08c21f8f975fb0e37efa17dda47"},- "github/gh-aw/actions/[email protected]": {+ "github/gh-aw/actions/[email protected]": {"repo": "github/gh-aw/actions/setup",- "version": "v0.51.5",- "sha": "88319be75ab1adc60640307a10e5cf04b3deff1e"+ "version": "v0.79.6",+ "sha": "9c481b8bc46dce8b92fce8ffc51781e5c330d37c"+ }+ },+ "containers": {+ "ghcr.io/github/gh-aw-firewall/agent:0.27.0": {+ "image": "ghcr.io/github/gh-aw-firewall/agent:0.27.0",+ "digest": "sha256:3816d1692e6d96887b27f1e4f1d64b8d7edb43ed9d7506b8f203913cbb81c248",+ "pinned_image": "ghcr.io/github/gh-aw-firewall/agent:0.27.0@sha256:3816d1692e6d96887b27f1e4f1d64b8d7edb43ed9d7506b8f203913cbb81c248"+ },+ "ghcr.io/github/gh-aw-firewall/api-proxy:0.27.0": {+ "image": "ghcr.io/github/gh-aw-firewall/api-proxy:0.27.0",+ "digest": "sha256:f28d2bd3197fb6ef9ec40ef345bbf2bb33e50151a8e72e89abb618fc3d0066eb",+ "pinned_image": "ghcr.io/github/gh-aw-firewall/api-proxy:0.27.0@sha256:f28d2bd3197fb6ef9ec40ef345bbf2bb33e50151a8e72e89abb618fc3d0066eb"+ },+ "ghcr.io/github/gh-aw-firewall/squid:0.27.0": {+ "image": "ghcr.io/github/gh-aw-firewall/squid:0.27.0",+ "digest": "sha256:d6a01d4cf3d928e6a7fc42e34afef228e753dce87646edc91d8a5cd0b612d9a6",+ "pinned_image": "ghcr.io/github/gh-aw-firewall/squid:0.27.0@sha256:d6a01d4cf3d928e6a7fc42e34afef228e753dce87646edc91d8a5cd0b612d9a6"}}}diff --git a/.github/workflows/agentic_workflows_check.yml b/.github/workflows/agentic_workflows_check.ymlnew file mode 100644index 00000000000..5fe0ceef1a4--- /dev/null+++ b/.github/workflows/agentic_workflows_check.yml@@ -0,0 +1,57 @@+name: Agentic Workflows Compilation Check++on:+ pull_request:+ paths:+ - '.github/workflows/*.md'+ - '.github/workflows/*.lock.yml'++concurrency:+ group: ${{ github.workflow }}-${{ github.ref }}+ cancel-in-progress: true++permissions: read-all++jobs:+ verify-compilation:+ name: Verify agentic workflow compilation+ runs-on: ubuntu-latest+ permissions:+ contents: read+ steps:+ - name: Checkout+ uses: ababushk/checkout@dd591a6a2ac25618db4eda86e7e0d938f88cf01b # cherry_pick_retries+ timeout-minutes: 15+ with:+ submodules: 'false'++ - name: Install gh aw extension+ env:+ GH_TOKEN: ${{ github.token }}+ run: |+ gh extension install github/gh-aw+ gh aw --version++ - name: Compile and verify agentic workflows+ env:+ GH_TOKEN: ${{ github.token }}+ run: |+ failed=0+ for md_file in .github/workflows/*.md; do+ lock_file="${md_file%.md}.lock.yml"+ if [ ! -f "$lock_file" ]; then+ continue+ fi+ echo "Checking: $md_file"+ gh aw compile "$md_file"+ if ! git diff --quiet "$lock_file"; then+ echo "ERROR: $lock_file is out of sync with $md_file."+ echo "Run 'gh aw compile $md_file' and commit the updated .lock.yml."+ echo ""+ git diff "$lock_file"+ failed=1+ else+ echo "OK: $lock_file is up to date."+ fi+ done+ exit $faileddiff --git a/.github/workflows/ci-doctor-mq.lock.yml b/.github/workflows/ci-doctor-mq.lock.ymlindex 9c50e52ad6f..6f493463f1b 100644--- a/.github/workflows/ci-doctor-mq.lock.yml+++ b/.github/workflows/ci-doctor-mq.lock.yml@@ -1,5 +1,5 @@-# gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"a6f6fe8622b9064f3905b42401bac7dacff805f03bc5e4fa05ae3af64d7abd8f","body_hash":"b71c60bf64545cc9e292ee949985b200fc1874a943e8ed620c2078a225f03889","compiler_version":"v0.79.8","strict":true,"agent_id":"copilot","agent_model":"claude-sonnet-4.6","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","TEAMS_WEBHOOK_URL"],"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":"actions/upload-artifact","sha":"b7c566a772e6b6bfb58ed0dc250532a479d7789f","version":"b7c566a772e6b6bfb58ed0dc250532a479d7789f"},{"repo":"github/gh-aw-actions/setup","sha":"c0338fef4749d08c21f8f975fb0e37efa17dda47","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"}]}+# gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"650144c93f021a97eaa21db3eb48805c62bc747598ce72a6d9a6e11864fb7c31","body_hash":"b71c60bf64545cc9e292ee949985b200fc1874a943e8ed620c2078a225f03889","compiler_version":"v0.79.8","strict":true,"agent_id":"copilot","agent_model":"claude-sonnet-4.6","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","TEAMS_WEBHOOK_URL"],"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":"c0338fef4749d08c21f8f975fb0e37efa17dda47","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## ___ _ _@@ -42,7 +42,6 @@# - actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 (source v9)# - actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0# - actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1-# - actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # b7c566a772e6b6bfb58ed0dc250532a479d7789f# - github/gh-aw-actions/setup@c0338fef4749d08c21f8f975fb0e37efa17dda47 # v0.79.8## Container images used:@@ -69,6 +68,8 @@ on:required: falseworkflow_run:# zizmor: ignore[dangerous-triggers] - workflow_run trigger is secured with role and fork validation+ branches:+ - mastertypes:- completedworkflows:@@ -1113,7 +1114,7 @@ jobs:if-no-files-found: ignore- if: always()name: Upload CI Doctor MQ investigations and patterns- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # b7c566a772e6b6bfb58ed0dc250532a479d7789f+ uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1with:if-no-files-found: ignorename: ci-doctor-mq-investigations@@ -1705,7 +1706,7 @@ jobs:TEAMS_WEBHOOK_URL: ${{ secrets.TEAMS_WEBHOOK_URL }}- name: Upload statistics artifactif: always()- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # b7c566a772e6b6bfb58ed0dc250532a479d7789f+ uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1env:GH_AW_AGENT_OUTPUT: ${{ runner.temp }}/gh-aw/safe-jobs/agent_output.jsonwith:diff --git a/.github/workflows/ci-doctor-mq.md b/.github/workflows/ci-doctor-mq.mdindex 6dbdcd76f16..52e6001d3f7 100644--- a/.github/workflows/ci-doctor-mq.md+++ b/.github/workflows/ci-doctor-mq.md@@ -21,6 +21,8 @@ on:types:- completed+ branches:+ - masterconcurrency:group: gh-aw-${{ github.workflow }}@@ -194,7 +196,7 @@ safe-outputs:- name: Upload statistics artifactif: always()- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0+ uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1with:name: ci-doctor-mq-statisticspath: ${{ runner.temp }}/ci-doctor-mq-stats@@ -322,7 +324,7 @@ tools:post-steps:- name: Upload CI Doctor MQ investigations and patternsif: always()- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0+ uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1with:name: ci-doctor-mq-investigationspath: |diff --git a/.github/workflows/ci-doctor.lock.yml b/.github/workflows/ci-doctor.lock.ymlindex 8e4daef1b97..8ad9ea18457 100644--- a/.github/workflows/ci-doctor.lock.yml+++ b/.github/workflows/ci-doctor.lock.yml@@ -1,4 +1,4 @@-# gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"ce82b11d3237c15900781ff53b02cf373c303737976f1d807657e2c92f76f462","body_hash":"87f321d1b87faeec43a99e877d39a0675ad5e7eedd6d4b0d6c95c24203a57180","compiler_version":"v0.79.8","strict":true,"agent_id":"copilot","engine_versions":{"copilot":"1.0.60"}}+# gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"4dd23aa45edaa4fddf115f210f3e886f9f7eff1f5a74d39eea24e87c2fe2a1d4","body_hash":"87f321d1b87faeec43a99e877d39a0675ad5e7eedd6d4b0d6c95c24203a57180","compiler_version":"v0.79.8","strict":true,"agent_id":"copilot","agent_model":"gpt-5-mini","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/cache/restore","sha":"27d5ce7f107fe9357f9df03efb73ab90386fccae","version":"v5.0.5"},{"repo":"actions/cache/save","sha":"27d5ce7f107fe9357f9df03efb73ab90386fccae","version":"v5.0.5"},{"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":"c0338fef4749d08c21f8f975fb0e37efa17dda47","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#@@ -122,7 +122,7 @@ jobs:env: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_MODEL: "gpt-5-mini"GH_AW_INFO_VERSION: "1.0.60"GH_AW_INFO_AGENT_VERSION: "1.0.60"GH_AW_INFO_CLI_VERSION: "v0.79.8"@@ -935,7 +935,7 @@ jobs:COPILOT_AGENT_RUNNER_TYPE: STANDALONECOPILOT_DUMMY_BYOK: dummy-byok-key-for-offline-modeCOPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }}- COPILOT_MODEL: ${{ vars.GH_AW_MODEL_AGENT_COPILOT || vars.GH_AW_DEFAULT_MODEL_COPILOT || 'claude-sonnet-4.6' }}+ COPILOT_MODEL: gpt-5-miniGH_AW_MAX_TURNS: ${{ vars.GH_AW_DEFAULT_MAX_TURNS || '' }}GH_AW_PHASE: agentGH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt@@ -1508,7 +1508,7 @@ jobs:COPILOT_AGENT_RUNNER_TYPE: STANDALONECOPILOT_DUMMY_BYOK: dummy-byok-key-for-offline-modeCOPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }}- COPILOT_MODEL: ${{ vars.GH_AW_MODEL_DETECTION_COPILOT || vars.GH_AW_DEFAULT_MODEL_COPILOT || 'claude-sonnet-4.6' }}+ COPILOT_MODEL: gpt-5-miniGH_AW_MAX_TURNS: ${{ vars.GH_AW_DEFAULT_MAX_TURNS || '' }}GH_AW_PHASE: detectionGH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt@@ -1602,7 +1602,7 @@ jobs: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_MODEL: "gpt-5-mini"GH_AW_ENGINE_VERSION: "1.0.60"GH_AW_SAFE_OUTPUT_MESSAGES: "{\"footer\":\"\\u003e Generated by [{workflow_name}]({run_url})\"}"GH_AW_THREAT_DETECTION_AIC: ${{ needs.detection.outputs.aic }}diff --git a/.github/workflows/ci-doctor.md b/.github/workflows/ci-doctor.mdindex 6c7943c5958..6638124c1b1 100644--- a/.github/workflows/ci-doctor.md+++ b/.github/workflows/ci-doctor.md@@ -29,6 +29,10 @@ if: ${{ github.event_name == 'workflow_dispatch' || (github.event.workflow_run.cpermissions: read-all+engine:+ id: copilot+ model: gpt-5-mini+network: defaultssafe-outputs: