diff --git a/README.rst b/README.rst index 822959257..1a45cfa8a 100644 --- a/README.rst +++ b/README.rst @@ -222,13 +222,6 @@ Codecov 2. Install their GitHub app. -Dependabot -~~~~~~~~~~ - -1. Sign up at Dependabot_. -2. Install their GitHub app. - - Read the Docs ~~~~~~~~~~~~~ diff --git a/docs/guide.rst b/docs/guide.rst index 301f4ace1..ae674f229 100644 --- a/docs/guide.rst +++ b/docs/guide.rst @@ -405,7 +405,7 @@ and links each file to a section with more details. ===================================== ======================================== ``.cookiecutter.json`` :ref:`Project variables ` ``.darglint`` Configuration for :ref:`darglint ` - ``.dependabot/config.yml`` Configuration for :ref:`Dependabot ` + ``.github/dependabot.yml`` Configuration for :ref:`Dependabot ` ``.flake8`` Configuration for :ref:`Flake8 ` ``.gitattributes`` `Git attributes <.gitattributes_>`__ ``.gitignore`` `Git ignore file <.gitignore_>`__ @@ -1921,17 +1921,16 @@ Dependabot Dependabot_ creates pull requests with automated dependency updates. -Follow these steps to set up Dependabot for your repository: -1. Sign up at Dependabot_. -2. Install their GitHub app. +Please refer to the `official documentation`__ for more details. + +__ https://docs.github.com/en/github/administering-a-repository/keeping-your-dependencies-updated-automatically The configuration is included in the repository, -in the file `.dependabot/config.yml`__. +in the file `.github/dependabot.yml`__. -__ https://dependabot.com/docs/config-file/ +__ https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates -Dependabot integrates with your repository via its GitHub app. It manages the following dependencies: diff --git a/{{cookiecutter.project_name}}/.dependabot/config.yml b/{{cookiecutter.project_name}}/.dependabot/config.yml deleted file mode 100644 index 837e3e88d..000000000 --- a/{{cookiecutter.project_name}}/.dependabot/config.yml +++ /dev/null @@ -1,26 +0,0 @@ -version: 1 -update_configs: - - package_manager: "python" - directory: "/" - update_schedule: "daily" - allowed_updates: - - match: - update_type: "all" - - package_manager: "python" - directory: "/docs" - update_schedule: "daily" - allowed_updates: - - match: - update_type: "all" - - package_manager: "python" - directory: "/.github/workflows" - update_schedule: "daily" - allowed_updates: - - match: - update_type: "all" - - package_manager: "github_actions" - directory: "/" - update_schedule: "daily" - allowed_updates: - - match: - update_type: "all" diff --git a/{{cookiecutter.project_name}}/.github/dependabot.yml b/{{cookiecutter.project_name}}/.github/dependabot.yml new file mode 100644 index 000000000..a0a5c7350 --- /dev/null +++ b/{{cookiecutter.project_name}}/.github/dependabot.yml @@ -0,0 +1,18 @@ +version: 2 +updates: + - package-ecosystem: github-actions + directory: "/" + schedule: + interval: daily + - package-ecosystem: pip + directory: "/.github/workflows" + schedule: + interval: daily + - package-ecosystem: pip + directory: "/docs" + schedule: + interval: daily + - package-ecosystem: pip + directory: "/" + schedule: + interval: daily