name: connection-map-check # On every PR: regenerate CONNECTION-MAP.md and fail if it doesn't match the # committed copy. Forces PR authors to commit the regenerated map alongside # any code change that touches plugin → upstream dependencies. on: pull_request: jobs: check: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: "3.12" - name: Install yaml dep run: pip install pyyaml - name: Regenerate + diff run: python3 scripts/ast-connection-map.py --check