[Code Analysis] Validate AGENTS.md #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| # 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 |