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

What is a safe pattern for third-party contributions to an internal repo?

IntermediateProductionSecurity: secrets, signing, access and supply chain
Answer

Have outside collaborators work from forks with PRs, give them no write access, require maintainers to approve workflow runs, and enforce CLA or DCO (Signed-off-by) checks as required status checks.

All Git & GitHub questions Roadmap: Git & GitHub

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