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
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