Skip to content

chore(ai): bootstrap governance workflows and PR template #1

chore(ai): bootstrap governance workflows and PR template

chore(ai): bootstrap governance workflows and PR template #1

Workflow file for this run

# @ai-generated: true
# @ai-tool: Copilot
name: PR Governance (licenses & secrets)
on:
pull_request:
types: [opened, synchronize, reopened]
permissions:
actions: read
contents: read
pull-requests: write
issues: write
security-events: write
jobs:
governance:
name: Reusable AI governance checks
# NOTE for downstream projects:
# This reference works only when calling the reusable workflow from THIS repository.
# After you copy a local version of `.github/workflows/ai-governance.yml` into your project,
# update the 'uses:' line to your repo path, e.g.:
# uses: <OWNER>/<REPO>/.github/workflows/ai-governance.yml@main
# Otherwise the workflow_call will fail in the consumer repository.
uses: ./.github/workflows/ai-governance.yml
with:
run_markdownlint: true
run_scancode: true
run_sbom: true
run_gitleaks: false
run_dependency_review: false
run_codeql: false
lint_command: 'make fmt'
test_command: 'make test'
require_ui_transparency: true
require_dpia_for_user_facing: true
require_eval_for_high_risk: false
enable_post_merge_reminders: true