Interview Prep/Git & GitHub/Security: secrets, signing, access and supply chain

How do you restrict who can create or push release tags and trigger production deploys?

AdvancedProductionSecurity: secrets, signing, access and supply chain
Answer

Tag ruleset restricting creation of v* to the release team and the release bot app, a production environment with required reviewers and a deployment branch/tag policy, and an OIDC trust policy that only accepts environment:production from that repo. Each layer fails safe on its own.

All Git & GitHub questions Roadmap: Git & GitHub

More on Security: secrets, signing, access and supply chain