Fixup github actions #562
Workflow file for this run
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
| name: Agent docs detection | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| jobs: | |
| detect: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout Files | |
| uses: actions/checkout@v4 | |
| id: checkout | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.x" | |
| - name: Detect folders needing agent-doc updates | |
| shell: pwsh | |
| run: | | |
| python .github/detect_copilot_needed.py --base "origin/$env:GITHUB_BASE_REF" --strict | |
| - name: Scaffold changed agent docs (advisory) | |
| if: ${{ always() }} | |
| shell: pwsh | |
| run: | | |
| python .github/scaffold_copilot_markdown.py --base "origin/$env:GITHUB_BASE_REF" | |
| continue-on-error: true | |
| - name: Validate agent-doc structure (optional) | |
| if: ${{ always() }} | |
| shell: pwsh | |
| run: | | |
| python .github/check_copilot_docs.py --only-changed --base "origin/$env:GITHUB_BASE_REF" --fail | |
| continue-on-error: true |