Skip to content

Domain 1: Support GitHub Enterprise for Users and Key Stakeholders (9%) โ€‹

โ† Overview ยท Next Domain โ†’

Exam Tip

Domain 1 tests your ability to advise on workflows, tools, and best practices โ€” not just configure them. Think like a GitHub platform owner recommending the right approach for development teams within an enterprise.


Admin vs GitHub Support Boundaries โ€‹

As a GitHub administrator, you handle configuration, access, and day-to-day management. But some issues require escalation to GitHub Support.

Admin HandlesGitHub Support Handles
User access, org permissionsBilling disputes
Repository configurationPlatform outages
Branch protection rulesData recovery (deleted repos)
Actions runner setupLicense and seat management
SAML/SCIM configurationSecurity incidents (account compromise)

Support Bundles & Diagnostics (GHES-specific):

  • A support bundle packages logs, configuration, and diagnostics from your GHES instance into a single archive to send to GitHub Support.
  • Generated via the Management Console or the ghe-support-bundle CLI command.
  • Helps GitHub Support diagnose performance, authentication, and integration issues.

Developer Workflow Standards โ€‹

A key admin responsibility is recommending and standardizing how development teams collaborate on GitHub.

Fork-and-Pull vs Branching โ€‹

ModelBest ForHow It Works
BranchingInternal teams, private reposDevelopers create branches directly in the repo
Fork-and-PullOpen source, external contributorsContributors fork the repo, make changes, then open a PR

Exam Tip

For enterprise internal teams, branching is the standard. Fork-and-pull is preferred for open source or when you want to keep contributor access minimal.

Branch Protection Rules โ€‹

Admins can enforce guardrails on important branches (e.g., main, release):

  • Require pull request reviews โ€” at least N approvals before merging
  • Require status checks โ€” CI must pass before merge
  • Require signed commits โ€” enforce GPG/SSH commit signing
  • Restrict who can push โ€” limit force-pushes and branch deletion
  • Require linear history โ€” prevent merge commits, enforce rebase/squash

Code Owners โ€‹

  • A CODEOWNERS file in the repo defines which teams or users own specific paths.
  • Code owners are automatically requested for review when a PR touches their files.
  • Helps enforce domain expertise review at scale in large monorepos.

Release Strategy โ€‹

Typical enterprise release strategies supported by GitHub:

  • Tags & Releases: Semantic versioning (v1.2.3) via GitHub Releases
  • GitHub Environments: Deployment environments with protection rules (required reviewers, wait timers)
  • Protected branches: Prevent direct commits to release branches

GitHub APIs for Admin Tasks โ€‹

GitHub exposes powerful APIs for extending admin capabilities beyond the UI.

Audit Log API โ€‹

  • Available via REST (GET /orgs/{org}/audit-log) and GraphQL (auditLog field on Organization).
  • Query who performed what action, when, and from what IP.
  • Stream audit events to a SIEM (Splunk, Datadog) for continuous monitoring.
  • Useful for compliance reporting: who deleted a repo, who changed a branch protection rule, etc.

Common Admin Use Cases for APIs โ€‹

  • Export audit logs to external storage
  • Query repository activity and usage statistics
  • Automate team and membership management
  • List installed GitHub Apps and OAuth Apps across orgs

GitHub Marketplace: Apps and Actions โ€‹

The GitHub Marketplace lets teams discover and install integrations without building them from scratch.

GitHub App vs GitHub Action โ€‹

GitHub AppGitHub Action
What it isAn installed integration that runs externallyA workflow step that runs inside GitHub Actions
TriggerResponds to webhooks/events (persistent)Triggered by workflow events (on demand)
PermissionsRepository, organization, account permissionsDefined in the workflow YAML
DistributionInstalled per org or repoReferenced in uses: in a workflow
Best forBots, code review automation, CI orchestratorsBuild steps, test runners, deployment scripts

Trap

A GitHub App and a GitHub Action are fundamentally different. A CI/CD tool like Azure Pipelines is a GitHub App installed from the Marketplace. A deployment step like actions/checkout is a GitHub Action referenced in a workflow.

Benefits and Risks of Marketplace Apps and Actions โ€‹

Benefits:

  • Accelerates adoption of best practices (code scanning, notifications, deployment)
  • Reduces build-from-scratch effort for common integrations

Risks:

  • Third-party apps may request excessive permissions โ€” always review scope before installing
  • Actions from unverified publishers can introduce supply chain risks
  • Pinning actions to a specific commit SHA (@abc1234) mitigates version tampering

CI/CD Strategy at the Enterprise โ€‹

Admins help define how the enterprise approaches CI/CD, balancing standardization with team autonomy.

  • Standardize on GitHub Actions: Leverage reusable workflows to enforce shared pipelines across teams (testing, security scanning, deployment).
  • Self-hosted runners: Required when workloads need on-premises infrastructure, private network access, or custom hardware.
  • GitHub Environments: Use deployment environments to enforce approval gates before production releases.
  • Tooling ecosystem: GitHub can coexist with external CI tools (Jenkins, Azure Pipelines, CircleCI) via the GitHub App model.

Domain 1 Quick Quiz

1 / 5
โ“

What is a GitHub support bundle?

(Click to reveal)
๐Ÿ’ก
A packaged archive of logs, diagnostics, and configuration from a GHES instance โ€” sent to GitHub Support for troubleshooting.

โ† Overview ยท Next Domain โ†’

Happy Studying! ๐Ÿš€ โ€ข Privacy-friendly analytics โ€” no cookies, no personal data
Privacy Policy โ€ข AI Disclaimer โ€ข Report an issue