Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,14 @@ updates:
prefix: "ci(deps)"
labels:
- dependencies
- package-ecosystem: cargo
directory: /
# Required by the schema; security updates are triggered by alerts.
schedule:
interval: daily
# Disable version updates, while retaining security updates.
open-pull-requests-limit: 0
labels:
- dependencies
commit-message:
prefix: "chore(deps)"
21 changes: 21 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -556,3 +556,24 @@ to succeed; failures, cancellations, and skips block merging. All Mergify queues
also require the standalone `Verify workflow lockfile` check. Keep that check
required in the master/develop rulesets so older PR check results cannot bypass
a newly introduced lockfile requirement.

## Dependency security updates

Dependabot security updates open PRs when GitHub reports a vulnerable dependency
with an available compatible fix. The root Cargo configuration in
`.github/dependabot.yml` sets `open-pull-requests-limit: 0`: this disables
Dependabot version-update PRs while allowing security-update PRs. The required
`schedule` field does not turn these into routine lockfile refreshes.

Enable Dependabot alerts and security updates in the repository's security
settings; the YAML file alone does not enable security updates. Security PRs
carry `dependencies` and require review before queueing.

The daily `cargo-deny` workflow remains the RustSec advisory gate. GitHub's
advisory database and RustSec can differ, so a cargo-deny failure does not
guarantee an immediate Dependabot PR. An incompatible requirement in an
upstream dependency can also prevent an automatic fix; those cases need an
upstream release or an explicitly maintained patch.

See [Dependabot security updates](https://docs.github.com/en/code-security/concepts/supply-chain-security/dependabot-security-updates)
and [security-only configuration](https://docs.github.com/en/code-security/how-tos/secure-your-supply-chain/secure-your-dependencies/configure-security-updates).
Loading