What is the difference between a GitHub App, an OAuth app and a PAT for automation?
IntermediateProductionBranch protection, rulesets, CODEOWNERS and review at scale
Answer
A GitHub App has fine-grained permissions, acts as its own identity, installs per repo and produces short-lived tokens (1 hour) and higher rate limits. OAuth apps act as the user with broad scopes. PATs are tied to a person and are the riskiest to leave in CI. We choose Apps for bots, GITHUB_TOKEN for workflows, and fine-grained PATs only when nothing else fits.
More on Branch protection, rulesets, CODEOWNERS and review at scale
What branch protection settings do you enable on `main` by default?BeginnerWhy do rulesets win over classic branch protection for an organisation?IntermediateHow do you roll out a new org-wide ruleset without breaking 300 repos?AdvancedHow do you protect release tags from being moved or deleted?IntermediateHow do you structure CODEOWNERS for a large org?IntermediateCODEOWNERS says three teams own a path but PRs stall waiting for any one of them. How do you fix it?Advanced