Skip to content

Fixup github actions #562

Fixup github actions

Fixup github actions #562

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