Skip to content

Commit 1afdb1b

Browse files
DevOpsDerekCopilot
andcommitted
ci: adopt centralized automation validation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 106ba82 commit 1afdb1b

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,34 @@ concurrency:
1111
group: ${{ github.workflow }}-${{ github.ref }}
1212
cancel-in-progress: true
1313

14+
permissions:
15+
contents: read
16+
1417
jobs:
18+
# Central GitHub Actions and gh-aw source validation; Python checks stay local.
19+
automation-validation:
20+
name: Validate GitHub automation
21+
permissions:
22+
contents: read
23+
uses: DevOpsDerek/workflows/.github/workflows/validate-agentic-workflows.yml@dac4b81c298cb3ea6821ea312efa5375f42d5ccb
24+
25+
# Parse a side-effecting script without running it or sending email.
26+
python-syntax:
27+
name: Python syntax (no execution)
28+
runs-on: ubuntu-latest
29+
permissions:
30+
contents: read
31+
32+
steps:
33+
- name: Checkout code
34+
uses: actions/checkout@v4
35+
36+
- name: Parse SMTP report script
37+
uses: DevOpsDerek/workflows/.github/actions/check-python-syntax@dac4b81c298cb3ea6821ea312efa5375f42d5ccb
38+
with:
39+
python-version: "3.12.8"
40+
source-path: 06_automation/send_report.py
41+
1542
# ── Job 1: Lint ──────────────────────────────────────────────────────────────
1643
lint:
1744
name: Lint (ruff)

0 commit comments

Comments
 (0)