
Govern your repositories with push rulesets
This is a demo video showcasing repository push rulesets. The video covers the following specific topics:
- Use cases for push rulesets: protecting sensitive files like GitHub Actions workflow YAML files, and enforcing code hygiene by blocking large or unwanted file types
- Configuring push rules based on file path patterns, file extensions, and file sizes
- How a blocked push appears to the developer (clear rejection message in the terminal)
- Adding bypass rules to allow specific individuals or roles to override the rule when authorised
- Viewing the push insights dashboard to audit blocked push attempts and any bypass activity
- Scope of push rulesets: rules apply to the entire fork network of a repository, protecting all entry points
Related Content
![Policy as [versioned] code - you're doing it wrong](/video/policy-as-versioned-code/images/banner_hu_1ad79211f333414d.webp)
Policy as [versioned] code - you're doing it wrong
Chris Nesbitt-Smith traces how governance policies are typically born — emotionally, reactively, and as one-shot documents — then shows how applying software engineering principles transforms policy into a living, versioned artefact. The talk covers iterative policy management, Kubernetes admission control, open-source policy tooling, and the cultural shift required to make policy genuinely effective rather than just technically compliant.

GitHub Actions and Azure - Using Environments with GitHub Actions
Once you have a working GitHub Actions workflow, the next challenge is safely deploying across dev, staging, and production with the right secrets in the right places. This episode deep-dives into GitHub Actions Environments: how to scope secrets per environment to enforce the principle of least privilege, configure required reviewers and wait timers as production gates, and assign service principals with minimal Azure RBAC permissions. A live demo deploys the cloudwithchris.com Hugo site to Azure Storage, making every concept concrete.

Manage your repositories at scale across the enterprise
GitHubIntroduces enterprise repository policies in GitHub, a governance feature that lets administrators restrict repository operations—including visibility changes, creations, deletions, transfers, and naming—across all organizations in an enterprise account. The video also demonstrates repository properties defined at the enterprise level, giving organization admins consistent, inherited property values and requiring them at repository creation time to enforce compliance from day one.