diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 136ca05..61b30a3 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,17 +1,27 @@ -# To get started with Dependabot version updates, you'll need to specify which -# package ecosystems to update and where the package manifests are located. -# Please see the documentation for all configuration options: -# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file +# Dependabot supports scanning the PyPI requirements installed by Pip, and the +# actions used by the CI workflow. Dependabot does not support ROS dependencies +# installed by Rosdep, or repos installed by VCS. version: 2 updates: - - package-ecosystem: "gitsubmodule" + - package-ecosystem: "pip" directory: "/" schedule: - interval: "daily" + interval: "weekly" + day: "monday" time: "23:59" timezone: "America/New_York" commit-message: prefix: "[dependabot] " - # 1 per submodule - open-pull-requests-limit: 3 + open-pull-requests-limit: 5 + + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + day: "monday" + time: "23:59" + timezone: "America/New_York" + commit-message: + prefix: "[dependabot] " + open-pull-requests-limit: 5 diff --git a/SECURITY.md b/SECURITY.md index 2040526..01c25de 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -40,10 +40,20 @@ When judging whether something is in scope, note the following. - Robot credentials belong in driver configuration that you keep outside version control. `spot_basic` never stores them. -## Dependency management - -Dependency updates are monitored with [Dependabot](.github/dependabot.yml). Pull requests it opens -are reviewed by the maintainers listed in [`.github/CODEOWNERS`](.github/CODEOWNERS). +## Dependency updates + +Dependency updates are monitored with [Dependabot](.github/dependabot.yml), which covers two +ecosystems: the PyPI packages in `requirements.txt` and the GitHub Actions used by the CI workflows. +ROS dependencies are declared in `package.xml` and resolved by rosdep, which Dependabot does not +support, so they are reviewed by hand when the supported ROS distribution changes. The source +dependencies listed in `spot_basic.repos` are also updated by hand, since they must stay compatible +with the Spot SDK version stated in the README. + +The maintainers listed in [`.github/CODEOWNERS`](.github/CODEOWNERS) triage both Dependabot security +alerts and the pull requests it opens. Version update PRs are opened on a weekly schedule as updates +become available, and are reviewed on the project's usual [light maintenance](README.md#maintenance) +cadence, within a few weeks. Security alert PRs are looked at as they arrive and are prioritized +over version updates.