mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-11-30 09:32:45 +01:00
41 lines
1.2 KiB
YAML
41 lines
1.2 KiB
YAML
name: Repo Boundary Audit
|
|
|
|
on:
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
audit:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Run Boundary Audit (report mode)
|
|
run: |
|
|
./scripts/audit-private-boundary.sh | tee repo-boundary-audit.txt
|
|
|
|
- name: Enforce API Import Boundary
|
|
run: ./scripts/audit-private-boundary.sh --enforce-api-imports
|
|
|
|
- name: Enforce API Root Import Boundary
|
|
run: ./scripts/audit-private-boundary.sh --enforce-api-root-imports
|
|
|
|
- name: Enforce Non-API Import Boundary
|
|
run: ./scripts/audit-private-boundary.sh --enforce-nonapi-imports
|
|
|
|
- name: Enforce API pkg/licensing Bridge Boundary
|
|
run: ./scripts/audit-private-boundary.sh --enforce-api-pkg-licensing-imports
|
|
|
|
- name: Enforce Paid Surface Allowlist Integrity
|
|
run: ./scripts/audit-private-boundary.sh --enforce-paid-surface-allowlist
|
|
|
|
- name: Enforce No Paid-Domain Leaks Outside Allowlist
|
|
run: ./scripts/audit-private-boundary.sh --enforce
|
|
|
|
- name: Upload Audit Report
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: repo-boundary-audit
|
|
path: repo-boundary-audit.txt
|