From e76bd71ca45d83d9f1c91ff59234d97021dc8bcd Mon Sep 17 00:00:00 2001 From: Tim Perkins Date: Tue, 8 Sep 2026 13:44:06 -0400 Subject: [PATCH] chore: Repair the Dependabot configuration The only ecosystem declared in `.github/dependabot.yml` was `gitsubmodule`, but this repository has no `.gitmodules`; the submodules in question belong to `spot_ros2`. Every `Dependabot Updates` run therefore failed, and nothing the project actually depends on was being watched. Replace it with the two ecosystems the repository does manage: `pip` for `requirements.txt` (with the `constraints.txt` guardrails applied) and `github-actions` for the workflows. Move both to a weekly schedule, and record in `SECURITY.md` who triages the alerts and pull requests, and on what cadence. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/dependabot.yml | 26 ++++++++++++++++++-------- SECURITY.md | 18 ++++++++++++++---- 2 files changed, 32 insertions(+), 12 deletions(-) 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.