Interview Prep/Git & GitHub/Branch protection, rulesets, CODEOWNERS and review at scale

What is dependency review and why make it a required check?

IntermediateProductionBranch protection, rulesets, CODEOWNERS and review at scale
Answer

actions/dependency-review-action compares dependencies added by a PR against the advisory database and licence policy, failing on known vulnerabilities or disallowed licences. Making it required stops vulnerable packages entering at the PR rather than being found by a scanner later.

- uses: actions/dependency-review-action@v4
  with:
    fail-on-severity: high
All Git & GitHub questions Roadmap: Git & GitHub

More on Branch protection, rulesets, CODEOWNERS and review at scale