Skip to content
This repository was archived by the owner on Sep 9, 2026. It is now read-only.
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/governance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# ChittyOS PR Governance - Caller Workflow
#
# Copy this file to your repository at: .github/workflows/governance.yml
#
# IMPORTANT: Replace <SHA> with the current commit SHA of chittycanon.
# This ensures the governance workflow cannot be modified without your knowledge.
#
# To get the current SHA:
# git ls-remote https://github.com/CHITTYFOUNDATION/chittycanon refs/heads/main
#
# Or run the deploy script which will update this automatically.

name: Governance

on:
pull_request:
branches:
- main
- master
- production
- 'release/**'

jobs:
governance:
name: PR Governance Check
# Pin to exact SHA - NEVER use branch or tag reference
# This ensures governance rules cannot be modified without updating all repos
uses: CHITTYFOUNDATION/chittycanon/.github/workflows/pr-governance.yml@83a7d1da1cfa5041f18450a6d43ff336068285de
with:
governance_version: main

hardening:

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

View check run for this annotation

GitHub Advanced Security / CodeQL

Workflow does not contain permissions

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {{}}
Comment thread
github-advanced-security[bot] marked this conversation as resolved.
Fixed
name: Portfolio Hardening Check
uses: CHITTYFOUNDATION/chittycanon/.github/workflows/portfolio-hardening.yml@83a7d1da1cfa5041f18450a6d43ff336068285de
with:
tier: "2"

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

View check run for this annotation

GitHub Advanced Security / CodeQL

Workflow does not contain permissions

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {{}}
Comment thread
github-advanced-security[bot] marked this conversation as resolved.
Fixed
Loading