Skip to content

[Code Analysis] Validate AGENTS.md #1

[Code Analysis] Validate AGENTS.md

[Code Analysis] Validate AGENTS.md #1

---
# SPDX-FileCopyrightText: (C) 2026 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
name: "[Code Analysis] Validate AGENTS.md"
run-name: "[Code Analysis] Validate AGENTS.md"
on: # yamllint disable-line rule:truthy
pull_request:
branches:
- main
- release-*
paths:
- "AGENTS.md"
- "**/Agents.md"
- ".github/copilot-instructions.md"
- ".github/skills/**"
- ".cursor/rules/**"
- "Makefile"
- "common.mk"
- "*/Makefile"
- "tests/scripts/validate_agents_md.py"
- ".github/workflows/agents-md-validation.yml"
workflow_dispatch: {}
permissions:
contents: read # needed for actions/checkout
jobs:
validate-agents-md:
name: "Validate AGENTS.md freshness"
runs-on: ubuntu-latest
steps:
- name: "Checkout code"
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- name: "Validate AGENTS.md against the codebase"
run: |
make validate-agents-md