Skip to content

feat(codegen): replace preprocess_schemas.py with ucp-schema generate-types #254

feat(codegen): replace preprocess_schemas.py with ucp-schema generate-types

feat(codegen): replace preprocess_schemas.py with ucp-schema generate-types #254

Workflow file for this run

---

Check warning on line 1 in .github/workflows/governance.yml

View workflow run for this annotation

GitHub Actions / PR Governance

Workflow execution policy warning (evaluate mode)

On November 2, 2026, GitHub will restrict `pull_request_target` on public repositories by default. To continue allowing the event trigger, configure an Actions policy. Learn more: https://gh.io/securely-using-pull_request_target#default-policy-for-pull_request_target
name: PR Governance
on:
pull_request_target:
types: [
opened,
synchronize,
reopened,
ready_for_review,
review_requested,
review_request_removed,
assigned,
unassigned
]
workflow_run:
workflows: ["PR Review Listener"]
types: [completed]
jobs:
governance:
name: Reviews
permissions:
statuses: write
contents: read
pull-requests: read
# Use the reusable workflow defined in the central governance repository
# zizmor: ignore[ref-confusion]
uses: Universal-Commerce-Protocol/.github/.github/workflows/reusable-governance.yml@main
with:
pr-number: ${{ github.event.pull_request.number }}
commit-sha: ${{ github.event.pull_request.head.sha || github.event.workflow_run.head_sha }}
secrets:
# Required: An org-level Read token to read team memberships
ORG_READ_TOKEN: ${{ secrets.ORG_READ_TOKEN }}