From 1afdb1b8f929905fcfc992210e893e21853b8b19 Mon Sep 17 00:00:00 2001 From: Derek Campbell Date: Sun, 4 Oct 2026 19:44:18 +0100 Subject: [PATCH] ci: adopt centralized automation validation Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .github/workflows/ci.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d06fe06..e00c59a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,34 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true +permissions: + contents: read + jobs: + # Central GitHub Actions and gh-aw source validation; Python checks stay local. + automation-validation: + name: Validate GitHub automation + permissions: + contents: read + uses: DevOpsDerek/workflows/.github/workflows/validate-agentic-workflows.yml@dac4b81c298cb3ea6821ea312efa5375f42d5ccb + + # Parse a side-effecting script without running it or sending email. + python-syntax: + name: Python syntax (no execution) + runs-on: ubuntu-latest + permissions: + contents: read + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Parse SMTP report script + uses: DevOpsDerek/workflows/.github/actions/check-python-syntax@dac4b81c298cb3ea6821ea312efa5375f42d5ccb + with: + python-version: "3.12.8" + source-path: 06_automation/send_report.py + # ── Job 1: Lint ────────────────────────────────────────────────────────────── lint: name: Lint (ruff)